Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've a development database on SQL Server 2008. I want to copy the production database back to my development server to get the latest data for testing. Unfortunately the production database is missing the many ERDs I've created to my development database. If I just restore a backup, I'll loose my ERDs. Is there any way to save or script the ERDs and transfer them to another database if both have the same schema?


share|improve this question
up vote 1 down vote accepted

It sounds as if you are using the Database Diagrams feature from within SSMS. I found this tool out at CodeProject:

I cannot speak to how well it would work for you. I would suggest you use a different tool, such as perhaps Visio, in order to create your ERDs so that they are more portable.

share|improve this answer
Thank you. Also found this:… – SolarX Mar 16 '12 at 11:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.