my data base if AssetTracking.mdf and AssetTracking.mdf datasource is
myDataSource = @"Data Source=.\SQLEXPRESS;AttachDbFilename=@"D:\main\int\AssetTracking.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True";
and i want to backup and restore of database AssetTracking from it's Data Source in sql server 2005
Backup and restore
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Jul 23, 2011, 2:30 AM EDT
refer these links:
Using SQlScript
Link2
Link3
hope it help you.......