Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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.


In response to

pgsql-novice by date

Next:From: Tom AllisonDate: 2006-06-11 21:01:19
Subject: Re: SQL comments
Previous:From: Shoaib MirDate: 2006-06-11 10:54:10
Subject: Re: SQL comments

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group