Subu
Say Hey Kid
Points: 680
More actions
October 30, 2007 at 2:24 am
#199519
alter table dept
add constraint PK_deptno primary key (deptno)
I am getting this error
Cannot define PRIMARY KEY constraint on nullable column in table 'dept'.
any body plz help me
Thanks & Regards
subu
Johannes Fourie
Default port
Points: 1470
October 30, 2007 at 2:28 am
#746507
Alter that column, make it NOT NULL
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply