CREATE TABLE SaleProperty
(PropertyCode VARCHAR (8) NOT NULL,
Area VARCHAR (20) NOT NULL,
Address VARCHAR (20) NOT NULL,
NoOfBedrooms NUMBER NOT NULL,
NoOfBathrooms NUMBER NOT NULL,
NoOfReceptionRooms NUMBER NOT NULL,
Garage BOOLEAN NOT NULL,
PropertyType VARCHAR (20) NOT NULL,
FreeholdLeasehold VARCHAR (20) NOT NULL,
Price CURRENCY NOT NULL,
PropertyStatus VARCHAR (20) NOT NULL,
DateAdvertised DATE NOT NULL,
CONSTRAINT SaleProperty_PropertyCode_pk PRIMARY KEY (PropertyCode));
..........
I want to the 'Garage' field to be a yes/no field, is this possible, and of so how.... Could you also tell me if my currency field is correct or not...??
2007-12-19
03:46:08
·
2 answers
·
asked by
Anonymous
in
Programming & Design