Commenting a Procedure

It is good practice to include comments in a procedure for the benefit of others who may use it.

It is particularly recommended that you use comments in a procedure header to supply the date, the version, and other relevant information.

Comments are preceded with a hyphen and an asterisk (-*). You can:

The following example illustrates the use of comments at the beginning of a procedure to supply information about it.

-* Version 1  07/28/04  SLRPT
-* Component of Retail Sales Reporting Module
SQL
    .
    .
    .

iWay Software