Re: SQL comments

From: Tom Allison <tallison(at)tacocat(dot)net>
To: Shoaib Mir <shoaibmir(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: SQL comments
Date: 2006-06-11 21:01:19
Message-ID: 448C849F.60608@tacocat.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Shoaib Mir wrote:
> You can use comments like this:
>
>
> --single line comment
>
> /* mutiline comments
> are done like this */
>

Found them, eventually.
I was trying to insert a comment in the middle of a line:

select status, reason, --method
from....

and it didn't like that.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Allison 2006-06-11 21:03:13 uh-oh
Previous Message Sean Davis 2006-06-11 11:07:33 Re: SQL comments