Re: ISO something like "#if 0 ... #endif" for SQL code

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: ISO something like "#if 0 ... #endif" for SQL code
Дата
Msg-id 47D6A20C.1090001@archonet.com
обсуждение исходный текст
Ответ на Re: ISO something like "#if 0 ... #endif" for SQL code  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Database OID xxxxx now seems to belong to "foo"
Следующее
От: "Gauthier, Dave"
Дата:
Сообщение: Re: Database OID xxxxx now seems to belong to "foo"