Получение синтаксической ошибки на Numeri c (и при обновлении это в базе данных Microsoft Access:
CREATE TABLE PRODUCT_SALES
(
TimeID Int NOT NULL,
CustomerID Int NOT NULL,
ProductNumber Char (35) NOT NULL,
Quantity Int NOT NULL,
UnitPrice Numeric (9,2) NOT NULL,
Total Numeric (9,2) NULL,
CONSTRAINT PRODUCT_SALES_PK
PRIMARY KEY (TimeID, CustomerID, ProductNumber),
CONSTRAINT PS_TIMELINE_FK
FOREIGN KEY (TimeID) REFERENCES TIMELINE (TimeID)
ON UPDATE NO ACTION
ON DELETE NO ACTION,
CONSTRAINT PS_CUSTOMER_FK
FOREIGN KEY (CustomerID) REFERENCES CUSTOMER (CustomerID)
ON UPDATE NO ACTION
ON DELETE NO ACTION,
CONSTRAINT PS_PRODUCT_FK
FOREIGN KEY (ProductNumber) REFERNCES PRODUCT (ProductNumber)
ON UPDATE NO ACTION
ON DELETE NO ACTION,
)