Viewing 8 posts - 1 through 8 (of 8 total)
When you use dynamic SQL it is excuted in its own context. This is reset between successive call to exec ( ). So construct your complete sql command into one string...
March 14, 2006 at 8:35 am
does
convert ( datetime, convert( varchar(8), nsjs.run_date) , 12)
this help?
Also run duration is in HHMMSS ie 125 means 1 Min 25 sec
August 9, 2004 at 12:58 pm
I see from your script that you are using 'num_assign' assign field for both min() and where in update. Could you possibly create an unique index on that column? Depending...
March 23, 2004 at 9:09 am
By any chance 'text in row' specified for the receiving table?
March 23, 2004 at 8:47 am
Could you please specify what other indexes are on this table?
March 23, 2004 at 8:32 am
You can specify 'WITH INIT' to your BACKUP LOG statement to overwrite the backup device with latest backup. After the restore is successful on the destination server save the file with datetime appended...
March 22, 2004 at 2:09 pm
In enterprise manager go to Management/ database maintainence plans. Right click on the label. Choose 'New maintainence plan' This will take you to the wizard where you can choose which...
March 22, 2004 at 1:40 pm
Backup log will by default removes inactive part of the log after it successfully backup the log. Complete backup does not have any effects on inactive entries. Of course you...
March 22, 2004 at 1:31 pm
Viewing 8 posts - 1 through 8 (of 8 total)