Quantcast
Channel: SQL Server Setup & Upgrade Forum
Viewing all articles
Browse latest Browse all 7701

Easy copy of a database with data

$
0
0

Is there an easier way to make an exact copy of an existing database with data without doing an SQL statement for the schema and then bulk load on SQL 8? 

I tried doing a backup and restore and restoring to a new name but that didn't work.  It just restored on top. 

Can I simply make a copy of the .mdf and .ldf files, rename them, and then Attach them....will that work or cause all kinds of problems?


Viewing all articles
Browse latest Browse all 7701

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>