July 29, 2008 at 10:10 am
Okay, this is an odd question, but when working in SSMS you can right-click on a stored procedure and select modify. When I do this on my laptop I get Alter Procedure etc...
When I do this on my desktop I get sp_executsql 'Alter Procedure ...'. I find this quite annoying. Does anyone know of a setting in SSMS where I can change this behavior? I have looked and can't seem to find it.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 29, 2008 at 11:30 am
I've never seen it do that.
I tried looking for an option that might do something like that. All I can say is play around with the scripting options a bit, see if one does that.
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
July 29, 2008 at 11:44 am
Are you sure you are not using the Script To option in the menu?
If you are:
Go to Tools -> Options -> Scripting
I think it is the "Include IF NOT EXISTS" option that is doing this to you.
Just verify the scripting options are the same on both machines.
Some of these settings make some pretty ugly scripts for you
July 29, 2008 at 11:58 am
Thanks guys. I thought about messing with the scripting options. I'll have to compare them on both machines.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply