开发者

How can I prevent to create Use [database] command?

开发者 https://www.devze.com 2023-04-05 20:43 出处:网络
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?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消