Click here to Skip to main content
15,922,650 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Which SQL server command allow to save the script that creates database with datas contained on it.
Posted

1 solution

If you can, try backup and restore.
If you absolutely must create a script, download "SQL Server Developer Tools" from http://msdn.microsoft.com/en-us/data/tools.aspx[^]

The tool may generate the scripts you want, by running a 'schema compare' and 'data compare' against a fresh, empty database.

Hope this helps,
Pablo.
 
Share this answer
 
Comments
elidrissi.amine1 21-Jun-12 7:00am    
my question was about a sql command such as (Select, or update) which i can execute from my asp .net application using dbcommand

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