Re: how to select

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: jvilla(at)innovativesource(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how to select
Date: 2005-07-29 19:42:14
Message-ID: 1122666134.32465.65.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 2005-07-29 at 14:48, Jonathan Villa wrote:
> -Jonathan
> >>
> >>
> >
> > that's because you type a select without a semicolon then you write
> > one with the semicolon so the parser think both are only one command
> > but refused to execute that bad formed sentence and give you the
> > error... then you put another sentence and, of cuorse it executed...
> >
> > you just show us 2 sentences one before the error and one after...
> >
> > am i right?
> >
> > --
> > Atentamente,
> > Jaime Casanova
> > (DBA: DataBase Aniquilator ;)
> >
>
>
>
>
>
> I feel about this small -> .
>
> Of course it's the semicolon... I guess I'm just used to MySQL where I would get this
>
> select user from table (hit enter)
> ->

No biggie. Postgresql is just a little more subtle:

test=> select * from test
test->

Notice the switch from => to ->

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jonathan Villa 2005-07-29 19:48:41 Re: how to select
Previous Message Jaime Casanova 2005-07-29 19:24:45 Re: how to select