Red Gate forums :: View topic - Feature Request for Format
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Prompt Previous Versions
SQL Prompt Previous Versions forum

Feature Request for Format

Search in SQL Prompt Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
Bill_Ross



Joined: 22 Mar 2010
Posts: 14

PostPosted: Mon Nov 22, 2010 5:30 pm    Post subject: Feature Request for Format Reply with quote

I recently discovered that Microsoft Sql Server will allow you to create a stored procedure, view, etc, with nested comments, but, once created, will not allow you to retrieve it. For example:


/*
One comment

/*
Nested Comment
/*

End of first comment

*/

Create Proc myproc...


This can result in loss of countless hours of programming.

Can you add a feature to the formatting to flag nested comments?
Back to top
View user's profile Send private message
chriskelly



Joined: 19 Apr 2010
Posts: 330
Location: Cambridge, UK

PostPosted: Tue Nov 23, 2010 6:55 pm    Post subject: Reply with quote

Thank you for your suggestion.

I have lodged this with our development team as an Enhancement Request, reference: SP-3605.
Back to top
View user's profile Send private message
simon.jackson



Joined: 08 Jan 2009
Posts: 45

PostPosted: Tue Nov 30, 2010 12:54 pm    Post subject: Reply with quote

Bill, It may be worth noting that SQL Prompt will allow you to recover those scripts. In version 4 you can hover over the object name and click the yellow tooltip. The script pane will come up with the complete script.

If you are using the SQL Prompt 5 EAP you can right click on the object name and "Script object as alter", which avoids hitting this (and several other) bugs in SSMS's script object as alter.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group