我需要将 DATE 列的数据类型更改为 VARCHAR 吗?
SQL> INSERT INTO BW_CLASS VALUES(`PC101', `MS OFFICE BASICS', `INDIANA JONES','18','1000',
2 TO_DATE('01-10-2013 10:30 AM', 'MM-DD-YYYY HH:Mm PM'),
3 TO_DATE('05-10-2013 10:30 AM', 'MM-DD-YYYY HH:Mm PM'),
4 `1276';
SP2-0552: Bind variable "MM" not declared.
SQL> desc bw_class
Name Null? Type
CLASS_ID NOT NULL CHAR(5)
CLASS_NAME NOT NULL VARCHAR2(40)
PROFESSOR NOT NULL VARCHAR2(50)
NUMBER_OF_STUDENTS NUMBER(6,2)
COST NUMBER(6,2)
START_DATE NOT NULL DATE
END_DATE NOT NULL DATE
ROOM_NUM VARCHAR2(3)