Viewing 11 posts - 1 through 11 (of 11 total)
July 11, 2017 at 2:54 am
We had a similar problem at our company where the entire SQL block was generated with a massive IN-list before being executed. Execution of the code would take forever and...
October 6, 2015 at 8:37 am
As Sean already mentioned: we need more information in order to provide useful advice. As the procedure is now, the parameters aren't used anywhere so there wouldn't be a difference...
December 18, 2013 at 8:23 am
The running time is because of the functions. You could put the function logic in the main query for better performance but you would be sacrificing readibility.
The arithmic overflow error...
February 18, 2013 at 5:42 am
Here are the function definitions that were missing in my previous post. Perhaps it can be of use.
The extra information about the table isn't any help to me. I still...
February 18, 2013 at 4:52 am
You are completely right. The function definition isn't included because I am not able to post them. For some reason it keeps timing out if I try to post or...
February 15, 2013 at 7:34 am
Well, I gave it a go. I used the sample data in the post to create two functions to convert time to seconds and the other way around to convert...
February 15, 2013 at 7:06 am
Hugo Kornelis (12/12/2012)
antony-688446 (12/11/2012)
Stewart "Arturius" Campbell (12/5/2012)
Interesting question, thanks.just bear in mind that GROUPING_ID only came into effect with SQL2008. Those still using 2005 will not have knowledge hereof...
Being pedantic,...
December 12, 2012 at 7:25 am
antony-688446 (12/11/2012)
Stewart "Arturius" Campbell (12/5/2012)
Interesting question, thanks.just bear in mind that GROUPING_ID only came into effect with SQL2008. Those still using 2005 will not have knowledge hereof...
Being pedantic, GROUPING_ID came...
December 12, 2012 at 7:04 am
You could use Phil's suggested query as a subquery. This lets you add as many CASE statements with as many WHEN statements as you want and it lets you filter...
November 1, 2012 at 7:16 am
I have to agree that the safest way to verify a backup is by actually restoring it somewhere. If this is not possible or you are looking for a way...
May 23, 2012 at 8:30 am
Viewing 11 posts - 1 through 11 (of 11 total)