Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Not null in composite key?

443808Jul 13 2005 — edited Jul 19 2005
I created one table as:


create table abc
(f_name varchar2(50),
m_name varchar2(50),
l_name varchar2(50),
CONSTRAINT UK_NAME UNIQUE (f_name,l_name,m_name)
)

Here I want to keep NOT NULL Constraint on the composite key. Something like


CONSTRAINT NOTNULL_NAME NOT NULL (f_name,l_name,m_name)

How to do this?

Regds,
Ashish
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 16 2005
Added on Jul 13 2005
10 comments
454 views