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.

Possible Duplicate:
Downgrading from SQL Server 2008 to 2005

Is it possible to copy the database schema from SQL Server 2008 to SQL Server 2005,

I don't need data from the tables, just the empty database structure with triggers, stored procedures, ...

share|improve this question
add comment

marked as duplicate by Marian, gbn, JNK Jun 3 '12 at 11:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

up vote 2 down vote accepted

If you aren't using any SQL2008+ only features (e.g. compression) you will be able to script out the objects you require and execute in SQL2005. If you're not sure if any SQL2008+ features are in use, trial and error (script and execute, see what happens) will soon tell you where the problems are.

This is very different to restoring a backup from 2008 to 2005, which is not possible.

share|improve this answer
    
thanks for answer +1 –  mKorbel Oct 13 '11 at 17:40
add comment

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