Re: Postgresql and scripting [SOLVED] - Mailing list pgsql-general

From Jerome Lyles
Subject Re: Postgresql and scripting [SOLVED]
Date
Msg-id 200409082229.25383.susemail@hawaii.rr.com
Whole thread Raw
In response to Re: Postgresql and scripting [SOLVED]  (Devrim GUNDUZ <devrim@gunduz.org>)
List pgsql-general
On Wednesday 08 September 2004 08:59 am, Devrim GUNDUZ wrote:
> Hi,
>
> On Wed, 8 Sep 2004, Jerome Lyles wrote:
> > Thank you tsarevich that solved it.  I'm trying to 'SELECT' out of the
> > tables now but I'm getting another syntax error:-)
> >
> > test-# SELECT prod_name FROM Products;
> > ERROR:  syntax error at or near "SELECT" at character 14
>
>   test-# SELECT prod_name FROM Products;
>       ^
>
> The dash indicates that another command before this line has been written
> but not ended with semicolon. An example:
>
> test=# SELECT
> test-# SELECT * from datetest ;
> ERROR:  syntax error at or near "SELECT" at characte
>
> You should check the previous line.
>
> Regards,

Thanks, I'll remember this.  The command I ran before was SELECT test * which
I thought would show me all the tables in test.  Running 'SELECT prod_name
FROM Products;' gave me the syntax error and cancelled the previous
instruction.  It worked after I ran it again, along withseveral others.
Thanks again to all,
Jerome

pgsql-general by date:

Previous
From: Tore Halset
Date:
Subject: Re: ERROR: canceling query due to user request
Next
From: Paul Thomas
Date:
Subject: Re: [JDBC] ERROR: canceling query due to user request