HP 3000 Manuals

Using Comments within SQL Statements [ ALLBASE/SQL Reference Manual ] MPE/iX 5.5 Documentation


ALLBASE/SQL Reference Manual

Using Comments within SQL Statements 

You can initiate comments within any SQL statement or ISQL prompt either
by prefixing 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.*/



MPE/iX 5.5 Documentation