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.

Thanks
A Rahim Khan

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: