SQL*Plus Yes/No Values
534123Sep 16 2006 — edited Sep 16 2006Hey,
I need some help.
I am working with Oracle iSQL*Plus and have to create tables to insert data. One of the data values (PressureRequired) has to be a 'Yes' or 'No'.
At the moment i have it like this, however it doesn't like BOOLEAN as a value.
CREATE TABLE AssetPneumatic
( EquipID CHAR(8),
PressureRequired BOOLEAN,
ConnectorSize INTEGER,
LubricationType CHAR(4),
CONSTRAINT PKAssetPneumatic PRIMARY KEY (EquipID),
CONSTRAINT FKAssetPneumatic FOREIGN KEY (EquipID) REFERENCES AssetEquipment )
Does anyone have any ideas on how to resolve this?
I am very happy to answer any more questions if anyone needs more information.
Thanks
This is kind of urgent
Lutty182