Viewing 15 posts - 47,791 through 47,805 (of 49,571 total)
Ziljan4 (1/6/2008)
So, can I conclude that the only way to resolve the growing log is to take T log back up which truncates...
January 6, 2008 at 10:59 pm
Sergiy (1/5/2008)
Steve,index on a column used in "range" selection ("BETWEEN", ">" or/and "<", TRANS_DATE in your case) must be clustered.
Fix it and the SP will be always fast.
I don't agree...
January 6, 2008 at 10:52 pm
Loner (1/6/2008)
My answer was restored the full backup from midnight, then restore the last transaction log. I guessed I was only half right?
Since they didn't say about log backups,...
January 6, 2008 at 10:50 pm
Or databases per customer. I've seen that before. I haven't yet had the 'pleasure' of working on monthly databases.
January 5, 2008 at 10:59 am
Sure. Thing is with the rownumber, you'll only be reading the table once. With exists, you're reading it at least twice.
-- returns 10 rows for the second page of a...
January 5, 2008 at 8:56 am
Could you post the definitions of the two tables and all the indexes on them please.
All I can see from the exec plan is that you have two index scans....
January 5, 2008 at 8:55 am
Step 4: Rebuild all your indexes to undo the damage that ShrinkDatabase did to them
January 5, 2008 at 8:50 am
Turn traceflag 1204 on (DBCC TRACEON (1204)) then run your proc. You'll get a deadlock graph written to the error log that will tell you the two processes involved in...
January 5, 2008 at 8:38 am
Could be IO related, could be insufficient memory, could be network speed. Could also be memory and display time on the client. It's about 70 MB of data you're tossing...
January 5, 2008 at 8:36 am
The order of expressions in the where clause doesn't make the slightest difference. SQL will do them inn whatever order is most efficient, based on the data and the available...
January 5, 2008 at 8:25 am
Steve Ervolino (1/4/2008)
Thanks for the input. Unfortunately, that didn't help either. Seems that manipulating the date at all is enough for SQL to ignore the index.
Hmmm. Sometimes...
January 5, 2008 at 8:23 am
It's a pleasure, and thank you for the feedback.
January 5, 2008 at 8:09 am
There is no way to update any of the system tables in SQL 2005.
Try running a DBCC CheckDB on that database. I think checkDB checks the system catalogs, so...
January 5, 2008 at 7:48 am
With mine, the error is because you didn't create the function DateMonthStarts. It's not an inbuilt SQL function. The contents of the function can be found on the page I...
January 5, 2008 at 7:35 am
Have a look at the hash_bytes function. Might do what you want. There's also checksum and checksum_agg
I'm not sure they're sufficient for what you're trying to do, but they might...
January 4, 2008 at 8:21 am
Viewing 15 posts - 47,791 through 47,805 (of 49,571 total)