Viewing 15 posts - 4,066 through 4,080 (of 7,187 total)
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...
April 29, 2013 at 7:30 am
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...
April 29, 2013 at 6:24 am
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...
April 29, 2013 at 6:02 am
Is your database in Full recovery mode, and if so, how often do you back up the transaction log?
John
April 29, 2013 at 5:44 am
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...
April 29, 2013 at 5:42 am
Who told you to do that? Please will you post the CREATE TABLE statement for Table A?
John
April 29, 2013 at 4:46 am
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...
April 29, 2013 at 4:06 am
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 -...
April 29, 2013 at 3:05 am
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...
April 26, 2013 at 8:44 am
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...
April 26, 2013 at 8:36 am
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...
April 26, 2013 at 3:46 am
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...
April 26, 2013 at 2:41 am
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
April 26, 2013 at 1:55 am
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...
April 26, 2013 at 1:45 am
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...
April 25, 2013 at 6:43 am
Viewing 15 posts - 4,066 through 4,080 (of 7,187 total)