Re: [INTERFACES] RE: Problem migrating MSAccess97 table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ghowe1(at)tampabay(dot)rr(dot)com
Cc: pgsql-interfaces(at)postgreSQL(dot)org, dpage(at)vale-housing(dot)co(dot)uk
Subject: Re: [INTERFACES] RE: Problem migrating MSAccess97 table
Date: 1999-04-12 14:54:57
Message-ID: 24745.923928897@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Dave Page <dpage(at)vale-housing(dot)co(dot)uk> writes:
> The obvious (and perhaps condescending!) question has to be: are you sure
> you are trying to access the same database you migrated to?

Next question after that would be whether the table names are lower case
or not. Via psql (and anything else that lets you enter raw SQL), table
and field names will be folded to lower case unless you put quotes
around them. In other words
SELECT ... FROM MyTable; --> mytable
SELECT ... FROM "MyTable"; --> MyTable
But I think pgadmin may supply quotes for you, and if the import process
quoted the names too, then you'd have mixed-case or upper-case table
names inside Postgres.

Try psql's \d command to see what table names the server thinks it has.

regards, tom lane

Browse pgsql-interfaces by date

  From Date Subject
Next Message Gary Smith 1999-04-12 15:07:59 RE: [INTERFACES] FW: ODBC connection problems
Previous Message Tom Lane 1999-04-12 14:42:46 Re: [INTERFACES] FW: ODBC connection problems