ALLBASE/SQL Reference Manual (36216-90216)

Chapter 1 53
Introduction
Using Comments within SQL Statements
Using Comments within SQL Statements
You can initiate comments within any SQL statement or ISQL prompt either by prexing
each line of the comment with two hyphens or with the combination of slashes and
asterisks at the beginning and end of the comments:
SELECT *
FROM PurchDB.SupplyPrice
WHERE PartNumber = '1723-AD-01'
AND DeliveryDays < 30
--This statement selects values from the SupplyPrice table based on
--part number and delivery days.
SELECT *
FROM PurchDB.SupplyPrice
WHERE PartNumber = '1723-AD-01'
AND DeliveryDays < 30
/*This statement selects values from the SupplyPrice table based on*/
/*part number and delivery days.*/