Re: SQL comments - Mailing list pgsql-novice

From Sean Davis
Subject Re: SQL comments
Date
Msg-id 448BF975.50902@mail.nih.gov
Whole thread Raw
In response to SQL comments  (Tom Allison <tallison@tacocat.net>)
List 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

pgsql-novice by date:

Previous
From: "Shoaib Mir"
Date:
Subject: Re: SQL comments
Next
From: Tom Allison
Date:
Subject: Re: SQL comments