Skip site navigation (1) Skip section navigation (2)

Re: tables invisible to pSQL

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Michael Coughlin <MPCoughlin4(at)Home(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: tables invisible to pSQL
Date: 2001-11-05 20:17:29
Message-ID: 3BE6F3D9.656F941B@tm.ee (view raw or flat)
Thread:
Lists: pgsql-interfaces
Michael Coughlin wrote:
> 
> I've noticed that tables, that I created with pgAccess or Microsoft Access,
> are NOT visible in
> pSQL.
> 
> Any attempt in psql to SELECT * FROM tableName;
> results in the error:
>     "Relation 'tableName' does not exist."

Try 

#> SELECT * FROM "tableName";

as Access creates the tables eaxctly as you name them, you must use ""

using SELECT * FROM tableName; triest to access table "tablename"

------------
Hannu

In response to

pgsql-interfaces by date

Next:From: LlewDate: 2001-11-06 20:53:09
Subject: COPY from files does not work
Previous:From: Michael CoughlinDate: 2001-11-05 15:41:04
Subject: Re: error: Relation 'tableName' does not exist ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group