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
Computers & Internet
➔ Programming & Design
I'm using MSAccess 2003 btw!
2007-12-19
03:46:31 ·
update #1
OK, i done that but it still wont run, can you pls send me the exact code for the garage field... thx!
2007-12-19
03:54:15 ·
update #2