我想在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 –