adding not null constraints on columns

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

adding not null constraints on columns

От:
"Susan" <brknrose@counterconspiracy.org>
Дата:
Вложения:
Is there a way to add not null constraints on a column after the column has been created?  Any help would be appreciated.  Thanks.
 
The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents.
Nathaniel Borenstein (1957 - )
 
 

Re: adding not null constraints on columns

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Susan"  writes:
> Is there a way to add not null constraints on a column after the column
> has been created?  Any help would be appreciated.  Thanks.

Certainly.  See the ALTER TABLE command.
		regards, tom lane

FAQ