I like to use the 2005 Database Project when developing applications.
*note which database project type I selected, there is a difference.
It's great for shops with localized development environments, which include a local database. Once you are ready to deploy the database to QA, Staging, Production or any server other then local, you will quickly find that the IDE does not support this.
The build process will generate a .sql file in the configured location.
Take this file and place it on the target server. You can then use the sqlcmd utility to execute the file. You may wonder why you can't just run the sql manually. The Database Project uses some syntax and features that require this type of execution. I won't go into detail in this post, however here is an example of some of the syntax.
Now go to the local server and run the sqlcmd utility for the file:
