Click here to Skip to main content
15,920,111 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello.....
How I can use SQl database (that designed in sql mangment 2008 r2) in sql express 2008 or 2005 , without any change on designe or data.
Posted
Comments
Kschuler 22-Nov-11 16:29pm    
Could you elaborate a bit on what you are trying to do? More information please.

1 solution

DDL and DML for all the versions is the same. As long as you are not using any advanced features, such as CTE or Service Brokers you should be able to export scripts to create the database and use it.
 
Share this answer
 
Comments
Heino Zunzer 23-Nov-11 12:17pm    
Correct. Just in addition:
To get the scripts, right click the database in Management Studio, select > Tasks, then select > Generate Scripts.
There you can choose all objects for which you want to generate scripts.
Then you can run these scripts on SQL 2008 Express and even SQL 2005 (if you are not using any advanced features as mentioned above)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900