ERROR: relation "mytable" does not exist

From: "Peter Schonefeld" <peter(dot)schonefeld(at)bigpond(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: ERROR: relation "mytable" does not exist
Date: 2005-05-05 13:12:28
Message-ID: MLEOIJCPDKMMGACMJGHDIEHOGHAA.peter.schonefeld@bigpond.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi, I'm a postgres newbie trying to convert a small SQL Server database for
a non-commercial site to postgres 8.0 in windows xp.

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 reference on functions.

Any help would be appreciated.

Regards
Pete

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message John DeSoi 2005-05-05 13:31:18 Re: ERROR: relation "mytable" does not exist
Previous Message Roberto Rezende de Assis 2005-05-05 12:34:16 function returning record