Forum Replies Created

Viewing 15 posts - 4,066 through 4,080 (of 7,187 total)

  • RE: Index maintenance increase log size

    If it's a simple while loop, they'll execute serially anyway and therefore putting a delay between them won't have much effect. Are you sure you're using option 3 that...

  • RE: Index maintenance increase log size

    Maybe you've got an uncommitted transaction or something like that. How much free space is there in the log file after the index maintenance has finished and the log...

  • RE: Index maintenance increase log size

    Once the rebuild of any index has used up space in your transaction log, that space won't be freed up again until the transaction log is backed up. You...

  • RE: Index maintenance increase log size

    Is your database in Full recovery mode, and if so, how often do you back up the transaction log?

    John

  • RE: Truncate Log Script

    You're doubling up your quotes. If you avoid doing that, it should solve your problem. If you're working in Management Studio, everything enclosed in quotes should be coloured...

  • RE: Update Join Query Help!!!!

    Who told you to do that? Please will you post the CREATE TABLE statement for Table A?

    John

  • RE: Update Join Query Help!!!!

    You shouldn't do that, because you'll destroy your referential integrity, and chances are you can't do it anyway, since the REASONSREFERRAL column probably has a data type that won't allow...

  • RE: error in Transactions... need urget help

    Presumably you're hitting an error in your TRY block and breaking out of it before the COMMIT TRANSACTION statement is reached. Can you not lose the explicit transaction -...

  • RE: Backups Failing

    I'm not sure it would, to be honest. They'd be two different sessions. You'd need to test. But even if it did work, I'd strongly recommend against...

  • RE: Backups Failing

    Use a UNC path, not a mapped drive. The mapped drive is only visible to the user that mapped it, not to the SQL Server service account, under whose...

  • RE: With or without DISTINCT ???

    Use DISTINCT when you want to eliminate duplicates from your result test. If you use it in an existence test, like you did in your original post, then it...

  • RE: Problem With BackupDB for Deleted Info

    As I said before, clean up the data before it goes into AgencyDB so that it doesn't violate the constraints. If you need more detailed help than that, please...

  • RE: With or without DISTINCT ???

    Is there a PRIMARY KEY or UNIQUE constraint on account.account_id? If there is, that'll be why the execution plans are identical.

    John

  • RE: Problem With BackupDB for Deleted Info

    How are you restoring the information from one database to the other? You can't insert any rows into AgencyDB that would violate any constraints in that database. If...

  • RE: Combining two stored procedures to get one result set.

    You can't do much with the results of a stored procedure, other than insert them into a table. You'd be better rewriting the procs as functions, the results of...

Viewing 15 posts - 4,066 through 4,080 (of 7,187 total)