Viewing 15 posts - 586 through 600 (of 1,825 total)
I would like to echo Nakul's sentiment.
Thanks to everyone involved with SSC (posters and staff),
Its a fabulous resource and ive learnt so much by reading and contributing to it.
October 7, 2010 at 1:47 am
It sounds to me that you are attempting to solve the 'catch-all' query problem.
IMO , the best way to handle those are by using Dynamic Sql.
Gail Shaw has documented that...
October 7, 2010 at 1:43 am
IMO , its always worth starting with tuning your TSQL code ( including indexing strategies and statistics).
If you have poorly performing SQL , you will have poorly performing...
October 7, 2010 at 1:21 am
Scalabilty is ALWAYS something to consider.
Parthi's solution , though perfectly adequate for three rows, will die when using one million rows.
Overkill ? Perhaps ? But smaller problems are practice for...
October 7, 2010 at 1:16 am
Seriously , really ??!?!?
http://www.sqlservercentral.com/Forums/Topic999726-149-1.aspx
This one is bang on topic, "Are the posted questions getting worse".
Tried to think of a sane , and not to scathing reply , its been...
October 6, 2010 at 12:00 pm
1) "Best" is a tricky one , it depends. BUT to force through this query ,set it to 1GB. You should be able to change that on...
October 6, 2010 at 6:37 am
Is it being called by another SP ?
take a look at the INFORMATION_SCHEMA.ROUTINES view.
October 6, 2010 at 5:32 am
If it is sqlagent have a look at the sysJobSteps table in msdb
October 6, 2010 at 4:58 am
Chris Morris-439714 (10/6/2010)
Edit: Oops sorry Dave, treading on your feet. Your autogrowth suggestion seems most likely.
🙂
No worries , but i did make an error in my update statement , didnt...
October 6, 2010 at 4:52 am
Its sounds as if the bottle neck is writing to the logfile.
What are your autogrowth settings ? If this is to small it will be a overhead having to...
October 6, 2010 at 4:35 am
Have you confirmed that the update is not being blocked ?
I would imagine both of those queries will force a table scan anyway.
Any triggers / referential integrity to be checked.
If...
October 6, 2010 at 3:43 am
mpsathiskumar (10/6/2010)
So, my questions is how to solve this issue without changing the temp table and INTERSECT logic?
Thanks for the repro script , it obviously is a bug.
I suggest...
October 6, 2010 at 2:44 am
What happens , if you cut the query down to 5,10 , 15 or 20 tables ?
Do you get the same error ?
Can you post a full reproduction script ?
Also...
October 6, 2010 at 2:04 am
Im assuming that the sp is being called by a .net application which a developer has some form of control over.
In which case the app shouldnt concatenate the ids...
October 5, 2010 at 4:18 am
Viewing 15 posts - 586 through 600 (of 1,825 total)