Viewing 15 posts - 5,911 through 5,925 (of 7,191 total)
Joseph
SQL Server 2000 Standard will only use 2GB whatever you do. That's the theoretical maximum - more often you see something like the 1.7GB you are witnessing.
John
May 16, 2008 at 7:38 am
Excellent article, Frédéric. I have recommended this to people in the past.
One thing I don't quite understand about the left and right bounds. Suppose I wanted to add...
May 16, 2008 at 6:20 am
One way of doing it is to build a script to perform the reindexing and then run it. Here's some pseudo code; yours will no doubt end up more...
May 16, 2008 at 6:15 am
Reindexing automatically updates the statistics, so you don't need to include both. I don't know exactly how a maintenance plan decides what it is going to reindex, but if...
May 16, 2008 at 5:05 am
Or, if you don't want to toggle recovery modes but also want to reduce your backup size, you could truncate the log without backing up, after reindexing. Of course,...
May 15, 2008 at 11:26 am
Yes, I think you're right. However, that appears to be an undocumented table or view in SQL 2000 that didn't survive to 2005. That's the danger of using...
May 15, 2008 at 9:01 am
INFORMATION_SCHEMA is an ANSI standard, so it should work on most RDBMSes, although I've never tried it on other vendors' platforms. It certainly works on SQL 2000 and 2005.
John
May 15, 2008 at 8:54 am
Was there a transaction running at the time you tried shrinking? What was the original size of the log file (ie when you created the database)?
John
May 15, 2008 at 6:37 am
Only shrink your log file if you're sure it's never going to grow to its current size again. Otherwise you waste processor and disk resources when it re-grows and...
May 15, 2008 at 5:40 am
Darryl Sibson (5/14/2008)
May 14, 2008 at 8:48 am
I do not quite follow you why you need both differential and transactional backups.
Doing differential backups will reduce the number of backups to be restored from and make it...
May 13, 2008 at 1:59 am
OleHank (5/12/2008)
Using LIKE without a wildcard, doesn't that just make it the same as '=' when comparing strings?
Yes, it does. If you're looking for values that start with "LONDON",...
May 13, 2008 at 1:43 am
If you don't use brackets (parentheses), the conditions will be evaluated in the order they appear. So WHERE condition1 AND condition2 OR condition3 OR condition4 is the same as WHERE...
May 12, 2008 at 9:26 am
Might be an idea to recycle your errorlog every week or so to prevent it from growing very large. But I agree with the others - don't restart SQL...
May 12, 2008 at 9:23 am
MD (5/12/2008)
May 12, 2008 at 9:19 am
Viewing 15 posts - 5,911 through 5,925 (of 7,191 total)