Viewing 15 posts - 631 through 645 (of 1,825 total)
GilaMonster (9/23/2010)
Dave Ballantyne (9/23/2010)
But his results did get better after removing 90% of the data.
Yeah, surprising that. (not)
I must add that to my optimisation advice. "Try adding this index. If...
September 23, 2010 at 2:28 am
But his results did get better after removing 90% of the data.
September 23, 2010 at 2:18 am
Good thread , lots of useful material coming from it ,but there is an issue,
SET STATISTICS TIME ON
Carries a performance overhead when used with Scalar functions , specifically with...
September 23, 2010 at 2:15 am
Sound straight forward enough if you use a calendar table.
Can you show us your code so far ?
September 23, 2010 at 1:21 am
Yup , i get the same plan with that plan. It does look like including the SubCategoryID to the IX_NAICSSCODE index ,for which i cant see the DDL, will have...
September 21, 2010 at 1:57 am
Parameter sniffing isnt an issue here as literal values are provided.
Turning on forced parametrization may provide a more 'even' plan, is this a dynamic sql query ?
September 20, 2010 at 4:18 am
They are estimated plans not actual plans , so its hard to tell if sqlserver has made the right choice.
But you can plainly see that in the in the california...
September 20, 2010 at 1:27 am
How about an outer join from a tally table (where row = required number of rows+1) to a cte which has a rownumber function.
The you simply need to isnull the...
September 17, 2010 at 3:45 am
Dave Ballantyne (9/16/2010)
Maybe my glass is half empty , but i read that with a heavy dose of sarcasm.Apologies to SureshS_DBA if i read wrong.
Already have done , 🙂
This is...
September 16, 2010 at 8:53 am
Maybe my glass is half empty , but i read that with a heavy dose of sarcasm.
Apologies to SureshS_DBA if i read wrong.
September 16, 2010 at 7:47 am
SureshS_DBA (9/16/2010)
Thanks for a long followup Gail....
That was unnecessary.
Try this link to identify the causes of blocking
September 16, 2010 at 7:32 am
Hi ,
IMO , this is wrong , you dont want to do this. Generic Procedure are rarely a good idea.
For paging , try this link http://www.sqlservercentral.com/articles/paging/69892/
September 16, 2010 at 6:40 am
I think you need to start again,
What is the REAL problem you are having ?
Is your client app leaving transactions open ? , transactions should (in an ideal world) be...
September 16, 2010 at 5:42 am
Should be fairly straight forward if you use a recursive CTE.
Some similar to this ...
September 16, 2010 at 5:18 am
SureshS_DBA (9/16/2010)
Thanks for second query but it also won't show the open transaction as I explained in my previous post.
What Gail showed will work if the "Begin Tran" statement is...
September 16, 2010 at 5:07 am
Viewing 15 posts - 631 through 645 (of 1,825 total)