Viewing 5 posts - 1 through 5 (of 5 total)
Let me start off by saying, I agree that temp tables are much more efficient that variable tables; and try to exclusively use temp tables. That said, you cannot...
July 31, 2013 at 6:42 am
SELECT 'January', 1
UNION ALL
SELECT 'February', 1....
I could be wrong here, but this probably would do the same thing with a lot less processing since you don't call and functions....cheers
March 13, 2012 at 11:06 am
Although I agree with you in keeping the script simple, I don't agree with the dynamic vs static. Month is one of those things you can garentee to be...
March 13, 2012 at 11:02 am
Users generally want to see it this way. Remember, we get it, but they generally do not!! 😛
March 13, 2012 at 10:59 am
That's assuming you have an order for each month. Additionally, his solution could perform faster depending on the number of rows in the "order" table.
The only thing I...
March 13, 2012 at 10:57 am
Viewing 5 posts - 1 through 5 (of 5 total)