Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

query window in ssms Expand / Collapse
Author
Message
Posted Monday, October 01, 2012 2:53 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Tuesday, April 15, 2014 9:54 AM
Points: 1,720, Visits: 3,063
I recently found when I use query window in SSMS, when I close the tab, it didn't ask me if I want to save the query sometimes.

For example If I script a key on the query window, if I try to close the tab, it won't prompt to save it or not. this makes me accidently close several tabs.

My question is anyone knows when the prompt shows up?


Thanks,
Post #1366776
Posted Monday, October 01, 2012 3:13 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, December 04, 2013 1:49 PM
Points: 1,104, Visits: 1,174
I believe that any generated scripts will not prompt for a save. Anything you modify at all should prompt you.

└> bt


Forum Etiquette: How to post data/code on a forum to get the best help
Post #1366785
Posted Monday, October 01, 2012 3:18 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Tuesday, April 15, 2014 9:54 AM
Points: 1,720, Visits: 3,063
Thanks, good to know
Post #1366788
Posted Tuesday, October 02, 2012 9:06 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Thursday, October 31, 2013 3:44 AM
Points: 314, Visits: 4,128
sqlfriends (10/1/2012)
I recently found when I use query window in SSMS, when I close the tab, it didn't ask me if I want to save the query sometimes.

For example If I script a key on the query window, if I try to close the tab, it won't prompt to save it or not. this makes me accidently close several tabs.

My question is anyone knows when the prompt shows up?


Thanks,


Regardless of what is in a query window, once it is changed in any way it should prompt you to save much like any other editor.
Post #1367108
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse