HPlogo ALLBASE/SQL Reference Manual > Chapter 1 Introduction

Using Comments within SQL Statements

MPE documents

Complete PDF
Table of Contents
Index

E0300 Edition 9 ♥
E0399 Edition 8
E0897 Edition 7

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.*/




SQL Language Structure


SQL Statement Categories