Forum Replies Created

Viewing 15 posts - 5,911 through 5,925 (of 7,191 total)

  • RE: 3 gig switch

    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

  • RE: Recursive Queries in SQL:1999 and SQL Server 2005

    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...

  • RE: File Size Issues

    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...

  • RE: File Size Issues

    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...

  • RE: TRANSACTION LOG BACKUP BIG

    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,...

  • RE: Link Server Script

    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...

  • RE: Link Server Script

    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

  • RE: File Size Issues

    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

  • RE: File Size Issues

    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...

  • RE: File Size Issues

    Darryl Sibson (5/14/2008)


    I've tested this already in our training environment which is why I use a backup device. Rather than doing each transaction separately I can roll back the...

  • RE: File Size Issues

    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...

  • RE: And with or - do I need brackets?

    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",...

  • RE: And with or - do I need brackets?

    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...

  • RE: Restarting SQL Services

    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...

  • RE: File Size Issues

    MD (5/12/2008)


    Agree with Steve, collecting 2G of changes in 20 minutes is a heck of a throughput. What I suspect is that your log file size is already 2Gs...

Viewing 15 posts - 5,911 through 5,925 (of 7,191 total)