Re: ISO something like "#if 0 ... #endif" for SQL code - Mailing list pgsql-general

From Richard Huxton
Subject Re: ISO something like "#if 0 ... #endif" for SQL code
Date
Msg-id 47D6A20C.1090001@archonet.com
Whole thread Raw
In response to Re: ISO something like "#if 0 ... #endif" for SQL code  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
List pgsql-general
Gurjeet Singh wrote:
> If your sole objective is to comment out large chunks of SQL code, which in
> turn may have multi-line comments, then the simplest trick is to comment
> them using /* multi-line */ itself!
>
> The SQL standard, and Postgres, allow you to nest comments; some commercial
> RDBMS' do not provide this, and hence people think it's not possible in SQL.

"People" included me too. Thanks for the pointer Gurjeet.

-
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Database OID xxxxx now seems to belong to "foo"
Next
From: "Gauthier, Dave"
Date:
Subject: Re: Database OID xxxxx now seems to belong to "foo"