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

ERROR: relation "mytable" does not exist

From: "Peter Schonefeld" <peter(dot)schonefeld(at)bigpond(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: ERROR: relation "mytable" does not exist
Date: 2005-05-04 12:54:59
Message-ID: MLEOIJCPDKMMGACMJGHDGEEEGHAA.peter.schonefeld@bigpond.com (view raw or flat)
Thread:
Lists: pgsql-admin
Hi, I'm a postgres newbie trying to convert a small SQL Server database to
postgres 8.0 .

A typical table that i've created looks like this...

CREATE TABLE "Country"
(
  "Id" int2 NOT NULL,
  "Name" varchar(50) NOT NULL,
  CONSTRAINT "PK_Country" PRIMARY KEY ("Id")
)
WITHOUT OIDS;
ALTER TABLE "Country" OWNER TO postgres;
COMMENT ON TABLE "Country" IS 'listing of countries';

If i try SELECT * FROM Country, i get 'ERROR: relation "country" does not
exist.

Also, I'm looking for a good function reference.

Any help would be appreciated.

Regards
Pete



Responses

pgsql-admin by date

Next:From: Mohan, RossDate: 2005-05-04 15:15:29
Subject: Re: REMOVE
Previous:From: David A. LeedomDate: 2005-05-04 10:16:19
Subject: Re: ODBC + pgsql on win32

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