Database BackUp & Restore Commands in SQL Server 2005
Sometimes, Database backup and restore using SQL Command is proved handy.
First of all, taking backup of any specific database to your desired location is very easy using this simple SQL command.
Moreover, you can retrieve logical name from Database backup file.
Finally, this code snippet shows how to restore database and save database files in default location or even in your desired location.
A Rahim Khan