[quoted text, click to view] > I did reinstall and restored my data
If you have already restored your database and want to move data files to the location of
c:\sql70\data, then you will have to make use of system stored procedure sp_detach_db and
sp_attach_db.
See following small example.
first use the sp_detach_db command to detach the database.
Eg
sp_detach_db 'pubs'
copy mdf and ldf files to the destination drive.
after copying the files, you can use the sp_attach_db stored procedure to reattach the files to SQL
Server with the new location
See more help on this in BOL.
[quoted text, click to view] > I need to
> migrate or restore the backed up database
If you want to restore the database then you can simply use RESTORE command to do that. Books
online has ample of help on this.
Start Books online , under index tab type "restore database" double click this topic and you will
see bunch of different restore scenarios.
--
- Vishal