MySQL Forums
Forum List  »  Stored Procedures

Re: Where can I see list of SPs also where have my comments gone?
Posted by: Jeff Odom
Date: October 25, 2005 06:14AM

Actually you can have inlined comments in your stored procedures, but as far as I can tell, they need to be entered via the Query Browser. Additionally, as of QB 1.1.17, this functionality seems to have been limited - all comments must be single line. That means that, while you can use /* */-syntax, it must be confined to a single line.

Here are some examples:

Good:

/* Comment */
# Comment
-- Comment

Bad:
/*
Multi line
Comment
*/




Edited 2 time(s). Last edit at 10/25/2005 06:23AM by Jeff Odom.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.