So I am very new at SQL and I really cannot find what is going wrong. I am doing this in access.
CREATE TABLE BOAT_SLIP
(
SLIP_ID NUMBER (4) PRIMARY KEY,
MARINA_NUM CHAR (4),
SLIP_NUM CHAR (4),
LENGTH NUMBER (4),
RENTAL_FEE NUMBER (8),
BOAT_NAME CHAR (50),
BOAT_TYPE CHAR (50),
OWNER_NUM CHAR (4)
) ;
I know I am going to feel like a complete moron.. but I can’t figure it out.
NUMBER doesn’t have a character length. If you delete the (4) and (8) from the right of SLIP_ID, LENGTH, and RENTAL_FEE, the table creates just fine.