Viewing 15 posts - 1 through 15 (of 17 total)
I wrote a little blog post on something similar as an example of using a recursive CTE (https://devondba.blogspot.com/search?q=Create+a+table+of+dates+showing+holidays+and+workdays), works quite well to build up a calendar table.
August 23, 2018 at 6:51 am
Brilliant!
Fantastic to see what else can be done with SQL, thank you so much for sharing.
July 3, 2015 at 8:20 am
Hi Wolfgang
Thanks for the reply. I've checked the default trace and the only time anything was done on this database was when I ran an alter statement to fix the...
September 29, 2014 at 2:12 am
Hi folks
I've just seen this happen, the application went haywire and starting logging errors of
"The definition of object 'my_stored_procedure' has changed since it was compiled."
This isn't something I've ever...
September 26, 2014 at 10:55 am
I think the query re-write will be enough but I'll post back if not, thanks again for your help, very much appreciated .
July 22, 2013 at 3:04 am
As Erland Sommarskog says, DBCC FREEPROCCACHE will indeed clear the plan in question and all others; be careful with the use of it and not good on production and from...
July 22, 2013 at 1:59 am
Thanks again Erland and sorry for the miss wording of the dead lock issue. I'll try and get the trace up tomorrow.
Have a great weekend.
July 21, 2013 at 4:05 am
I believe dropping an index will cause any execution plans that use that index to be recompiled on the next run as the index is no longer valid. As you...
July 21, 2013 at 3:56 am
Thank you very much for the reply. That's a valid point, I missed the check to see if the update was needed.
The deadlock is happening on the clusterd index....
July 21, 2013 at 3:16 am
Hi adelinetfl.smkss
GPO is correct, you can up the value for max recursion. The value of 100 is kind of a built in protection to stop endless recursion.
I did a quick...
June 18, 2013 at 12:45 am
Thank you for you reply. I've had a good stab at it and eventually found the info needed within the windows server log. Thanks though.
January 17, 2013 at 10:32 am
Thanks Gail, makes perfect sense when explained that way.
Thanks again.
December 19, 2012 at 11:57 am
Hi all
I have a similar issue so I though a more in depth description may help vineetbhargav too.
I have a proc that is used in a report. The report has...
December 19, 2012 at 10:40 am
Ok Gail I'll take a look at the application and see if things can be improved/altered there.
Thanks again, very much appreciated!
November 16, 2012 at 5:38 am
Thank you for the prompt reply. If I were to do that, just so I understand for the future, which order would I put the second two columns in (as...
November 16, 2012 at 5:14 am
Viewing 15 posts - 1 through 15 (of 17 total)