0

How to copy database and all tables pks triggers etc as well as data from SQL Server Express to SQL Server 2005 ?

3 Answers 3

4

Using Backup/Restore

  1. Backup the database on SQL Server Express
  2. Restore the database to SQL Server 2005

Using Detach/Attach

  1. Detach the database from SQL Server Express
  2. Attach the database to SQL Server 2005

Note

This assumes the Express Edition is 2005 as well. Downgrading from 2008 to 2005 can be problematic.

Sign up to request clarification or add additional context in comments.

Comments

1

Why do you need to copy anything?? Just detach the database (MDF + LDF) from your SQL Server Express, copy the files to the full server, and re-attach the database - and you're done!

Comments

1

You could create an Database Backup, or Drop the Database as Query.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.