Viewing 15 posts - 9,316 through 9,330 (of 15,381 total)
This matches your description of your business rules but it doesn't match the data you said you wanted. Not sure which one is correct because you said
so if Student initial...
February 12, 2013 at 2:08 pm
phbdev (2/12/2013)
I added some more information. Please take a look.
Please read my original post, especially the second part.
There is nowhere near enough information to offer much help. It seems you...
February 12, 2013 at 11:47 am
wafw1971 (2/12/2013)
Hi SeanThank you for that, but it still doesn't populate my table. Any ideas why not because I haven't got the foggiest?
Not without some ddl and sample data. Take...
February 12, 2013 at 10:11 am
wafw1971 (2/12/2013)
February 12, 2013 at 10:07 am
There is nowhere near enough information to offer much help. It seems you could use the techniques described in this article to achieve what you are after. http://www.sqlservercentral.com/articles/comma+separated+list/71700/%5B/url%5D
If that doesn't...
February 12, 2013 at 9:48 am
You have really messed up the case expressions. There is no need to check case of a value and you left off the end.
CASE --@StartDate
WHEN (SELECT SiteWeighting FROM Site WHERE...
February 12, 2013 at 9:45 am
Very interesting Dwain. I tried another idea to see how it would hold up. It seems that it is possible to use another temp table to hold the replaced values....
February 12, 2013 at 9:17 am
ahpitre (2/12/2013)
February 12, 2013 at 9:08 am
Do you have any triggers on the customer table?
February 12, 2013 at 8:30 am
Jeff Moden (2/11/2013)
Andy Hyslop (2/11/2013)
Why...
February 11, 2013 at 3:50 pm
Steven Willis (2/11/2013)
Sorry Sean...I didn't see that you had already answered with exactly the same idea. 😛
No worries. Great minds...
February 11, 2013 at 3:39 pm
DON'T use things you don't need, like the BEGIN and END for the proc itself - completely unneeded and doing nothing but cluttering up the screen.
Actually begin and end...
February 11, 2013 at 3:30 pm
Please take the time to read the first link in my signature about best practices when posting questions. If you post ddl, sample data and desired output in a format...
February 11, 2013 at 2:44 pm
This looks a lot like a catch all type of query. Take a look at Gail's blog post about this. It explores a number of methods and comes up with...
February 11, 2013 at 2:20 pm
Thanks for the setup Lowell.
There is no need for a cursor here. A cte will work just fine here. The actual rules are pretty vague but I think this...
February 11, 2013 at 2:18 pm
Viewing 15 posts - 9,316 through 9,330 (of 15,381 total)