Toad for DB2 doesn't show comments correctly and amends procedure code, when using a database in Oracle compatibility mode.
说明
When Toad compiles the procedure, it misinterprets the comment depending on the location of the comment. Once you compile it and open the code in Object Explorer, the location of the comment has changed.
解决办法
WORKAROUND: As a workaround: Use /* */ comments AFTER create statement and use --comments between BEGIN and END.
STATUS: Waiting for fix in a future release of Toad for DB2