ERROR: relation "mytable" does not exist

Поиск
Список
Период
Сортировка
От Peter Schonefeld
Тема ERROR: relation "mytable" does not exist
Дата
Msg-id MLEOIJCPDKMMGACMJGHDIEHOGHAA.peter.schonefeld@bigpond.com
обсуждение исходный текст
Ответы Re: ERROR: relation "mytable" does not exist  (John DeSoi <desoi@pgedit.com>)
Список 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


В списке pgsql-novice по дате отправления:

Предыдущее
От: Roberto Rezende de Assis
Дата:
Сообщение: function returning record
Следующее
От: John DeSoi
Дата:
Сообщение: Re: ERROR: relation "mytable" does not exist