Viewing 7 posts - 1 through 8 (of 8 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...
bondada
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...
bondada
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
bondada
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...
bondada
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...
bondada
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.
bondada
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
bondada
January 22, 2004 at 2:34 pm
Viewing 7 posts - 1 through 8 (of 8 total)