Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!uw-beaver!sumax!quick!thebes!polari!6sceng!blm From: blm@6sceng.UUCP (Brian Matthews) Newsgroups: comp.databases Subject: Re: Comments in SQL scripts -- is there standard Keywords: SQL UNIFY Message-ID: <450@6sceng.UUCP> Date: 12 Jul 90 00:06:58 GMT References: <216@cti1.UUCP> <1990Jul11.023801.9596@math-cs.kent.edu> Organization: Six Sigma CASE, Inc. Lines: 15 In article <1990Jul11.023801.9596@math-cs.kent.edu> hawkwind@kentvax.kent.edu (Len Jaffe) writes: |In article <216@cti1.UUCP> kmeek@cti1.UUCP (Kevin Meek) writes: |>Is there anything in the SQL standards about how comments can |>be inserted into an SQL script? |Unify 2000 uses double dashes in clumns 1 and 2. |for example: |-- this script does |-- absolutely nothing usefull I don't have my documents here, but I believe that the standard says that a comment can occur anywhere, is indicated by a --, and goes to the end of the line (modulo quoting and such). Of course standard SQL is something of an oxymoron yet, so your mileage may vary. -- Brian L. Matthews blm@6sceng.UUCP