From: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
---|---|
To: | RShepard(at)hhcmt(dot)com |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: relation does not exist |
Date: | 2001-02-24 07:21:19 |
Message-ID: | Pine.BSF.4.21.0102232320400.21040-100000@megazone23.bigpanda.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Try select * from "Dx";
If you want to keep case (as opposed to the normal
lower-casing) you'll need to double quote the name.
On Fri, 23 Feb 2001 RShepard(at)hhcmt(dot)com wrote:
>
>
> I am trying to convert a MS SQL database to postgres. I have done it
> this way:
>
> 1) use Access -> link to MS SQL
> 2) install postgress ODBC driver
> 3) use Access -> copy -> ODBC compliant database.
> 4) set up the database in postgress
> 5) do the copy from access.
>
> the file Dx for the table Dx is created in the base/sw_codes database. the
> file contains the data, so it is being copied correctly by access to
> postgres..
>
> however I cannot access the table from psql. I get the following
> message:
>
> Welcome to psql, the PostgreSQL interactive terminal.
>
> Type: \copyright for distribution terms
> \h for help with SQL commands
> \? for help on internal slash commands
> \g or terminate with semicolon to execute query
> \q to quit
>
> sw_codes=# select * from Dx;
> ERROR: Relation 'dx' does not exist
>
> sw_codes=# \dt
> List of relations
> Name | Type | Owner
> ------+-------+----------
> Dx | table | rshepard
> (1 row)
>
> can some one help?
>
> postgres v 7.03
> odbc v 6.5 (can't find odbc v 7.x)
>
> thanks
>
> bob shepard
> rshepard(at)hhcmt(dot)com
>
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2001-02-24 11:21:56 | Re: lock the database |
Previous Message | Tatsuo Ishii | 2001-02-24 02:38:13 | Re: [HACKERS] Re: v7.1b4 bad performance |