Обсуждение: Re: [HACKERS] DROPping tables with SERIALs

Поиск
Список
Период
Сортировка

Re: [HACKERS] DROPping tables with SERIALs

От
Zeugswetter Andreas IZ5
Дата:
>> You can specify a nonzero value for a serial column 
>> (as long as it does not duplicate any existing value in that column), ...
>>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> 
>> ?!!!

>You can assign a value to a serial column, as long as it is unique.

Only an explicitly created unique index will enforce behavior this in
Informix.
(I tested this just to be sure)

Andreas