| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> NULL values in Unique constrain
Hi everybody,
I'm having some problem defining a table, having in mind first of all database indipendence.
My table is in his fundamentals somethink like that:
create table mytable (
value1 integer not null,
value2 integer null
value3 integer not null,
unique (value1, value2, value3)
)
Is this correct or the "value2" column should be also "not null"? In my application, in certain cases, the "value2" could be null.
Thank you very much for your help.
Diego Dal Cero. Received on Wed Oct 03 2001 - 03:50:47 CDT
![]() |
![]() |