Take the 2-minute tour ×
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. It's 100% free, no registration required.

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?

Thanx

share|improve this question

1 Answer 1

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: http://www.codeproject.com/Articles/15080/Script-SQL-Server-2005-diagrams-to-a-file

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: stackoverflow.com/questions/527327/… –  SolarX Mar 16 '12 at 11:47

Your Answer

 
discard

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.