Re: SQL comments - Mailing list pgsql-novice

From Jaime Casanova
Subject Re: SQL comments
Date
Msg-id c2d9e70e0606111440o4b02094bmad22101cbd33a316@mail.gmail.com
Whole thread Raw
In response to Re: SQL comments  ("Jaime Casanova" <systemguards@gmail.com>)
List pgsql-novice
On 6/11/06, Jaime Casanova <systemguards@gmail.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:
>

sorry

s/command/comment

--
regards,
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

pgsql-novice by date:

Previous
From: "Jaime Casanova"
Date:
Subject: Re: SQL comments
Next
From: Philip Hallstrom
Date:
Subject: Re: uh-oh