Forum Replies Created

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

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

  • RE: Union all or Multiple Inserts

    But be careful if your INSERT..SELECT..UNION ALL... statement is very big or your transaction log is very small.

    John

  • RE: Memory

    Are you using the /3GB switch in your boot.ini file?

    John

  • RE: "Object does not exist" error in transaction. How to rollback?

    Please post your code.

    Thanks

    John

  • RE: Help on my query

    I think a better way would be to store the results of sp_helpsrvrolemember into a temp table, then LEFT JOIN syslogins to that so that you also get logins that...

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