Advertisement

07.26.2007 at 03:52PM PDT, ID: 22724256
[x]
Attachment Details

TSQL - one command to copy ALL tables/structure/data into another database

Asked by coldchillin in SQL Server 2005

Tags: copy, database, tables, all

Drop everything in database B, copy everything in database A into database B.
Note: Avoiding restoring database A as database BStart Free Trial
[+][-]07.26.2007 at 04:09PM PDT, ID: 19579067

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.26.2007 at 04:20PM PDT, ID: 19579123

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: SQL Server 2005
Tags: copy, database, tables, all
Sign Up Now!
Solution Provided By: dtodd
Participating Experts: 3
Solution Grade: A
 
 
[+][-]07.27.2007 at 01:58AM PDT, ID: 19580985

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]08.08.2007 at 11:22PM PDT, ID: 19660057

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.09.2007 at 01:29PM PDT, ID: 19665670

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32