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

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

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.

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

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