我想插入一個非空值。這是一個例子:找到空值
create table time(
a varchar2(9),
b varchar2(9),
c varchar2(9));
table create
insert into time (a,c) values ('qq','ee');
table altered
當我鍵入此:
alter table time
modify b varchar2(9) not null;
此錯誤出來:
alter table time
*
ERROR at line 1:
ORA-02296: cannot enable (DIP0114713.) - null values found
所以,我怎麼插入值a
和c
列,也列b
是不是空?
給它一個默認值。 –
不能讓它變成不爲空? –