
Moving data from server to server
In SQL Server 7.0, Enterprise Manager does not have an "Attach Database ..."
option. You will have to use T-SQL code ... check out the documentation on
the sp_detach_db and sp_attach_db system stored procedures in the SQL Server
7.0 Books Online.
-------------------------------------------
BP Margolin
Please reply only to the newsgroups.
When posting, inclusion of SQL (CREATE TABLE ..., INSERT ..., etc.) which
can be cut and pasted into Query Analyzer is appreciated.
Quote:
> Does this solution appy to sql7? I am trying to follow these
> instructions, but I can't find the "Attach Database..." option..
> On Thu, 21 Jun 2001 17:12:11 -0400, "Nathaniel E. Bibler"
> >My choice would be just to copy the mdf and ldf files in your current
\data
> >directory to the one on the other LAN machine. Once there, you can open
> >Enterprise Manager, right click on Databases -> All Tasks -> (in the new
> >computer) and "Attach Database..." Browse.., select the database files,
> >and you're done.