Hi Friends,
There are any way to restore backup database through SQL command ?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SenthilkumarPosted May 26, 2012, 12:37 PM
There are two statements to back up and restore the database through the sql statement in query window.
Backup
Restore
Backup database TO diskpath
RESTORE database FROM path
If you want to do it through the application then i have developed sample application. You can download it.
http://www.c-sharpcorner.com/Blogs/8679/backup-and-restore-the-database-in-Asp-Net-web-application.aspx
Kunal VaishyaPosted May 26, 2012, 9:07 AM
if you want to use SqlCOmmmand then Set Command String and You can Execute it