-1
create table Department
(Dname varchar(255) NOT NULL, Dnumber int NOT NULL PRIMARY KEY, Mgr_SSN char(9) NOT NULL, Mgr_start_Date DATE);
insert into Department values('HR', '1', '11001', '2012-04-05 10:15:00');
我收到錯誤"not valid month"
。
我們應該在創建表格時定義日期格式嗎?
我正在使用Oracle11g
。我收到「無效月份」錯誤
可能重複[here](http://stackoverflow.com/questions/17206160/oracle-how-to-use-time-and-date) – Noel