Re: is there any difference DROP PRIMARY KEY in oracle and postgres?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: is there any difference DROP PRIMARY KEY in oracle and postgres?
Дата
Msg-id 18059.1446823494@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: is there any difference DROP PRIMARY KEY in oracle and postgres?  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
John R Pierce <pierce@hogranch.com> writes:
> On 11/5/2015 11:25 PM, Thomas Kellerer wrote:
>> But having an "alter table drop primary key" would indeed be nice.

> is that syntax in the sql standard?   or is it just an oraclism?

AFAICS there is no such syntax in SQL:2011 --- it only offers
"ALTER TABLE name DROP CONSTRAINT name".

            regards, tom lane


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

Предыдущее
От: Mark Morgan Lloyd
Дата:
Сообщение: "Web of trust" connections
Следующее
От: Bertrand Roos
Дата:
Сообщение: Re: Auto-analyse on insert operations