MySQL Forums
Forum List  »  Stored Procedures

Stored procedures comment too short
Posted by: Stefano Locati
Date: January 03, 2006 05:53AM

Hello,

I've noticed that the stored procedure comment you can add using the COMMENT statement is limited to only 64 chars. That's not enough to describe what a procedure does. Do you think it's safe to change mysql.proc.comment datatype from char(64) to varchar(255) or even text or it's better not?

Further I've seen that mysql (i'm using 5.0.16 now) drops all comments with c-style syntax within your code ( /* */ ), while for instance MS SQL Server keeps them.

I think comments are very important to build a maintenable software. What can I do to improve the present situation?

Thanks,
Stefano
http://software.obliquid.com/

Options: ReplyQuote


Subject
Views
Written By
Posted
Stored procedures comment too short
2184
January 03, 2006 05:53AM


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.