Viewing 7 posts - 1 through 7 (of 7 total)
you can use a xp_fileexists function to check whether the file exists or not(EXEC master..xp_fileexist 'c:\boot.ini') , it will return 3 columns , if file exists file exists column returns 1 and...
February 14, 2006 at 11:24 am
you supposed to use NO_TRUNCATE , read on the following options
NO_LOG | TRUNCATE_ONLY
Removes the inactive part of the log without making a backup copy of it and truncates the...
January 25, 2006 at 1:06 pm
use Enterprise Manager
Select database Server
select database whis is required to clean
right click on database
select all tasks
click on Generate SQL Script
create new database using the above script
January 19, 2006 at 1:07 pm
if you can do manually on Query Analyser, right click on results after executing query and save as csv file...
if you want to do in automation you can use BCP...
January 3, 2006 at 10:35 am
It is not legal for the transaction_name parameter of a ROLLBACK TRANSACTION statement to refer to the inner transactions of a set of named nested transactions. transaction_name can refer only...
July 21, 2004 at 5:27 pm
You can write a VBScript which runs back up ( OSQL ) and Delete commands and finally put this script on automation in SQL Agent Job.
February 9, 2004 at 6:01 pm
I think you could use DISTRIBUTED TRANSACTION
for example
USE pubsGOBEGIN DISTRIBUTED TRANSACTIONUPDATE authors SET au_lname = 'McDonald' WHERE au_id = '409-56-7008'EXECUTE remote.pubs.dbo.changeauth_lname '409-56-7008','McDonald'COMMIT TRANGO
January 22, 2004 at 2:34 pm
Viewing 7 posts - 1 through 7 (of 7 total)