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

Re: SQL comments

From: "Jaime Casanova" <systemguards(at)gmail(dot)com>
To: "Tom Allison" <tallison(at)tacocat(dot)net>
Cc: "Shoaib Mir" <shoaibmir(at)gmail(dot)com>, pgsql-novice(at)postgresql(dot)org
Subject: Re: SQL comments
Date: 2006-06-11 21:40:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
On 6/11/06, Jaime Casanova <systemguards(at)gmail(dot)com> wrote:
> > Found them, eventually.
> > I was trying to insert a comment in the middle of a line:
> >
> > select status, reason, --method
> > from....
> >
> Actually, you can put a comment in the middle of a line. Your mistake
> in the above statement is because of the comma before the command, the
> parser sees this:



Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
                                       Richard Cook

In response to

pgsql-novice by date

Next:From: Philip HallstromDate: 2006-06-11 22:28:08
Subject: Re: uh-oh
Previous:From: Jaime CasanovaDate: 2006-06-11 21:38:40
Subject: Re: SQL comments

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