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:文字不匹配格式字符串。ORA-01861:文字不匹配格式字符串'日期數據類型錯誤'
[Literal與Oracle中的格式字符串不匹配]的可能重複(http://stackoverflow.com/questions/3152955/literal-does-not-match-format-string-in-oracle) – Ben 2013-04-27 18:00:47