我想在Oracle SQL Developer中创建一个表,但我收到错误ORA-00902。布尔给予无效的数据类型 - Oracle
这里是我的表创建
CREATE TABLE APPOINTMENT(
Appointment NUMBER(8) NOT NULL,
PatientID NUMBER(8) NOT NULL,
DateOfVisit DATE NOT NULL,
PhysioName VARCHAR2(50) NOT NULL,
MassageOffered BOOLEAN NOT NULL, <-- the line giving the error -->
CONSTRAINT APPOINTMENT_PK PRIMARY KEY (Appointment)
);
我在做什么错模式?
在此先感谢
受支持的数据类型:http://docs.oracle.com/cd/E16655_01/server.121/e17209/sql_elements001.htm#i45441 –
请参阅此处以了解如何执行操作,因为表中没有布尔类型:http://stackoverflow.com/questions/30062 –