Visual Studio 2010 Database Builds Drop If Exists
问题 Is there any way i can change the "Alter" statements for tables and procs to "Drop if exists" when the build spits out the scripts?? Using Visual Studio 2010 Ultimate. TFS 2010. 回答1: I believe the code you are referring to is generated from a template. Look here... C:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools\Templates\Database Project Items and the modify these two files. New Table Script.sql New Stored Procedure Script.sql 回答2: After the procedure has been created for the