Viewing 15 posts - 5,791 through 5,805 (of 18,926 total)
Most likely you've hit a point where the stats need to be maintained manually and not count on the server to do this.
The server waits for 20% row change in...
May 25, 2011 at 7:11 am
roger.plowman (5/25/2011)
May 25, 2011 at 7:08 am
You need to do a cross apply for the 12 months of the period to make sure you don't have nulls in that column.
You can also consider having 1 client...
May 25, 2011 at 7:07 am
Do you have nulls in the date or month somewhere in the data?
May 25, 2011 at 5:53 am
What's the event? Can you provide a quick screenshot?
May 25, 2011 at 5:51 am
Denesh Naidoo (5/25/2011)
Hi All,I believe SQL Profile will show it. Before the SP_EXECUTE, there is a SP_PREPARE statement that shows the SQL code.
Thanks
Denesh
In what column do you see the prepared...
May 25, 2011 at 5:41 am
How is the data inserted / updated?
If the application generates the next PK (insert) and then does an update and fills up all the rest of the columns you're going...
May 25, 2011 at 5:38 am
Insert into rpttable ()
Select from prod where not exists (check in rpttable)
May 25, 2011 at 5:34 am
Reported to Steve... spacing is wrong. The article is complete. but very weirdly spaced.
May 25, 2011 at 5:28 am
SUM(CASE WHEN TranType = 2 THEN Qty ELSE 0 END) AS QtyReturns
, SUM(CASE WHEN TranType = 1 THEN Qty ELSE 0 END) AS QtySold
May 24, 2011 at 11:04 am
Whisper9999 (5/24/2011)
May 24, 2011 at 11:03 am
#1 turn auto_shrink OFF and reindex the whole db.
#2 select * from diarioliq where dataliq = '2011-05-10' bad perfomance
That is likely because the stats are out of date.. literally. ...
May 24, 2011 at 10:39 am
You mean you can't figure out out to split the sales and returns???
Something like this maybe :
Qty * Amount * CASE WHEN TransactionTypeCode = 2 THEN -1 ELSE...
May 24, 2011 at 10:35 am
I use this one and works perfectly for me :
http://sqlfool.com/2010/04/index-defrag-script-v4-0
What scan / sample mode are you using?
May 24, 2011 at 10:25 am
Viewing 15 posts - 5,791 through 5,805 (of 18,926 total)