How can I prevent to create Use [database] command?
When I create a script of the table in SQL Server (2008), Use [SampleDataBase] GO command is also written, How can I st开发者_运维知识库op writing this statement?
Table Name -> Create script as -> Create To
Tools -> Options -> SQL Server Object Explorer -> Scripting
In the grid on the right, under General Scripting Options, one of the options is Script USE <Database>
and it defaults to True.
精彩评论