Page 1 of 1

Database projects and script generation

Posted: Tue 29 Jul 2008 15:03
by jovball
I have two questions about generating DDL scripts.

1) When I create a database project in VS2005, I can "import" scripts for database objects if I use the Wizard. However, I don't see any way to do this after I've finished the wizard. I also don't see any way to do this if I choose not to use the wizard. Am I missing something?

2) Is there a way to generate DDL scripts from the database without creating a database project?

Posted: Wed 30 Jul 2008 06:56
by Duke
To generate DDL for certain objects open Database Explorer window select appropriate node in the tree and right-click on it. There in popup menu you can see 'Generate DDL' command. For more information please refer to the product documentation.