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@gmail.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
>