Re: SQL comments

From: Sean Davis <sdavis2(at)mail(dot)nih(dot)gov>
To: Tom Allison <tallison(at)tacocat(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: SQL comments
Date: 2006-06-11 11:07:33
Message-ID: 448BF975.50902@mail.nih.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Tom Allison 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

-- at the beginning of EACH line you want to comment works for me.

Give that a try and if it doesn't work, you will need to post what you
did and what errors you got.

Sean

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Allison 2006-06-11 21:01:19 Re: SQL comments
Previous Message Shoaib Mir 2006-06-11 10:54:10 Re: SQL comments