What's wrong about this sql statement?

Поиск
Список
Период
Сортировка
От Corn
Тема What's wrong about this sql statement?
Дата
Msg-id 9mnfs9$22bh$1@news.tht.net
обсуждение исходный текст
Ответы Re: What's wrong about this sql statement?  (Richard Poole <richard.poole@vi.net>)
Список pgsql-general
I am newbie. Try to create a table like this.

CREATE TABLE usersright (
    userid INTEGER NOT NULL,
    rightid INTEGER NOT NULL,
    allow BOOLEAN NOT NULL DEFAULT FALSE
CONSTRAINT pk_usersright PRIMARY KEY (userid, rightid)
);

But I got the following error message:

ERROR: parser: parse error at or near "("

I am following the syntax of SQL statement reference from postgresql web
site.

please help.

thx.

corn



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

Предыдущее
От: Giorgio Volpe
Дата:
Сообщение: Apache authentication
Следующее
От: "A. Snelders"
Дата:
Сообщение: Re: Locate on Max() and Group By