Move SQL Server Databases Using Detach and Attach

–How to move SQL Server databases to a new location by using Detach and Attach functions in SQL Server –Prerequisites –Note You can determine the name and the current location of all files that a database uses by using the sp_helpfile stored procedure use go sp_helpfile go –Detach the database as follows: use master go sp_detach_db ‘mydb’ go –Next, copy the data files and the log files from the current location (D:Mssql7Data) to the new location (E:Sqldata). –Re-attach the database.

» Read more

News – Announcement for Blog

Dear/Respected All, I am pleased to announce that today i am going to start my blog http://varindersandhu.in The primary objective of my blog is to share my experience and notes with all technical persons. It would mean the world to me if you’d stop by my blog at some point. This Message/Post can be forwarded to anyone who might be interested. Sincerely, Varinder Sandhu

» Read more
1 21 22 23