I am developing a small business application which uses Sqlserver 2005 database.
Platform: .Net framework 3.5; Application type: windows application; Language: C#
Question:
I need to take and restore the backup from my application. I have the required script generated from SSME.
How do I run that particular script (or scripts) from my winform application?
You can run these scripts the same way you run a query, only you don’t connect to the database you want to restore, you connect to master instead.