create table Coordinate_with
(
cor_id char(6),
cmp_id char(6),
start_date date,
shifted varchar(10),
primary key (cor_id,cmp_id),
foreign key (cor_id) references Coordinator(cor_id),
foreign key (cmp_id) references Company(cmp_id)
);
insert into Coordinate_with
values ('COR-01','CMP-02','2009-03-22','Morning');
引发错误 ORA-01861:文字与格式字符串不匹配。