Re: SQL comments

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

You can use comments like this:

--single line comment

/* mutiline comments
are done like this */

/Shoaib

On 6/11/06, Tom Allison <tallison(at)tacocat(dot)net> wrote:
>
> How do you comment out SQL?
>
> Can you use:
>
> '--'
> or
> /*
>
> */
>
> I tried the '--' briefly and it didn't seem to work and I could find
> anything,
> maybe I used the wrong search terms.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Sean Davis 2006-06-11 11:07:33 Re: SQL comments
Previous Message Tom Allison 2006-06-11 09:34:55 SQL comments