Is there a way to turn this 'feature' off?
views:
116answers:
2
+5
A:
Awesome, I just found it:
Tools -> Options -> Sql Server Object Explorer -> General Scripting Options
Script USE <database> -> False
Shawn Simon
2008-10-01 16:00:18
+2
A:
Tools -> Options -> Sql Server Object Explorer -> Scripting -> Script USE <database> (under the General scripting options heading).
That's in SQL Server 2008 Management Studio, I'm told it's there in 2005, too.
bdukes
2008-10-01 16:01:05
It is there in 2005 too.
Forgotten Semicolon
2008-10-01 16:01:45