我創造了這個表:號碼無效SQL 01722
create table user_info(
ID number(3) primary key,
employee_id number(6),
login varchar2(8) not null,
password varchar2(16) not null, check (password>5),
creation_date date default sysdate,
constraint empid_fk foreign key(employee_id) references employees(employee_id)
)
當我要插入一些值,
insert into user_info values(123,123123,'login','password','08-04-2016');
我收到此錯誤:
01722. 00000 - "invalid number"
*Cause:
*Action:
有人能解釋我的插入查詢有什麼問題?
這是一個Oracle數據庫? – Elezar