cloning a database with backing up possible?

Posted by Jreeter on Stack Overflow See other posts from Stack Overflow or by Jreeter
Published on 2010-06-09T13:38:19Z Indexed on 2010/06/09 14:02 UTC
Read the original article Hit count: 174

Filed under:
|

I need to write a tool to clone a database, instead of detaching it and copying the .mdf and .ldf, wouldn't it be better to just back it up and restore a newly created db?

Is there a way using SQL to create a database from a .bak?

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server