1. Right click Databases -> Restore Database.

2. Click Restore Databases, you will be getting a restore window. Select the database name and specify the source for restore -> specify the *.bak file from your local drive by clicking “Add” button.

In some cases, we won’t have backup files. Instead, we will be having Database files as,
a. Master Database file (Primary) - MDF
b. Secondary Database file (Secondary) – NDF (Optional one)
c. Log Database file (Log File) – LDF
In this case, we have to detach these files from the existing SQL Server 2000 databases and attach the same using SSMS.
Right click Databases ->Attach -> Click Add button in the databases to attach and specify the mdf file location.
a. Master Database file (Primary) - MDF
b. Secondary Database file (Secondary) – NDF (Optional one)
c. Log Database file (Log File) – LDF
In this case, we have to detach these files from the existing SQL Server 2000 databases and attach the same using SSMS.
Right click Databases ->Attach -> Click Add button in the databases to attach and specify the mdf file location.
Now, you got your database right...
Happy Learning!!!
Regards,
Venkatesan prabu. J
No comments:
Post a Comment