Copy 2 databases without detach in SQL 2005

Posted by molgan on Stack Overflow See other posts from Stack Overflow or by molgan
Published on 2010-04-21T09:01:19Z Indexed on 2010/04/21 9:03 UTC
Read the original article Hit count: 247

Filed under:

Hello

I have a server with live databases, and I have a test-server where I sometimes restore databases from the live one, to get fresh data. But this way I have to set up all the users again, I have about 4 different users with different permissions that need set again.

Is there some way to do this a better way without using detach and attach, since I cant take the databases offline on the live-server?

Prefered some thing I could run that "re-fills" the tables with fresh data. No need to redo stored procedures and rights.

/M

© Stack Overflow or respective owner

Related posts about sql-server-2005