Viewing 15 posts - 6,796 through 6,810 (of 18,923 total)
Update stats with fullscan if possbile.
If stats are out of data the plan will be wrong (especially for that case).
Could also be parameter sniffing.
April 18, 2011 at 7:52 am
Yup, but as soon as you do this then you're screwed.
create table #Temp (t int)
create table #Temp1 (t1 int, fails int)
insert into #Temp values (1)
insert into #Temp1 values (1)
Select *...
April 18, 2011 at 7:50 am
GilaMonster (4/16/2011)
Just one comment, if the session_id>50 is supposed to filter out system processes, remove it as it won't necessarily do what...
April 18, 2011 at 7:48 am
Also make sure to have the month number in the dataset so you can sort by that column.
April 18, 2011 at 7:07 am
Brandie Tarvin (4/18/2011)
Duncan Pryde (4/18/2011)
Brandie Tarvin (4/18/2011)
Thank you, Duncan. That information is greatly appreciated. Now I know where to start on my studying.
No problem. Let me know if you need...
April 18, 2011 at 6:32 am
Use try .... catch.
April 18, 2011 at 6:11 am
EXEC xp_cmdshell 'md c:\whatever' --, nooutput --optional
April 18, 2011 at 6:10 am
Revenant (4/15/2011)
Ninja's_RGR'us (4/12/2011)
April 15, 2011 at 10:57 am
samsql (4/12/2011)
Perry will there be any issue if i truncate the tables.... as i dnt have any space...
April 15, 2011 at 8:13 am
Just keep in mind that you lose a very valuable piece of information if you clear that history.
I use that to figure out when I'll get autogrowth, when I'll run...
April 15, 2011 at 8:11 am
Brandie Tarvin (4/15/2011)
Ninja's_RGR'us (4/15/2011)
April 15, 2011 at 5:21 am
Thanks David, amazing description of what "might" be going on under the covers. Certainly makes a lot of sens and demonstrate how much work is actually involved.
That also answer...
April 15, 2011 at 5:16 am
David Dubois (4/15/2011)
I would just like to point out that if any of your filenames has a ']' in it, your code will fail.
Thanks, fortunately they don't.
The code's been...
April 15, 2011 at 5:13 am
jremmc (4/14/2011)
April 14, 2011 at 9:52 am
Viewing 15 posts - 6,796 through 6,810 (of 18,923 total)