Re: Postgresql and scripting [SOLVED]

From: Ben <bench(at)silentmedia(dot)com>
To: Jerome Lyles <susemail(at)hawaii(dot)rr(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgresql and scripting [SOLVED]
Date: 2004-09-08 19:06:23
Message-ID: Pine.LNX.4.44.0409081205100.14155-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dunno about your version of psql, but in mine, the "-#" prompt means that
you haven't finished your statement yet. "=#" means psql is ready to start
accepting a new statement.

On Wed, 8 Sep 2004, Jerome Lyles wrote:

> On Wednesday 08 September 2004 02:44 am, tsarevich(at)gmail(dot)com wrote:
> > Use timestamp instead of datetime.
> >
> > Where you have "REFERENCE", use "REFERENCES"
> >
> 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
>
> What is this error?
> Thanks,
> Jerome
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ron St-Pierre 2004-09-08 19:07:11 Re: Returning multiple values (but one row) in plpgsql
Previous Message Devrim GUNDUZ 2004-09-08 18:59:03 Re: Postgresql and scripting [SOLVED]