Doesn't run, says Syntax error in a constraint clause
CREATE TABLE Project
(
ProjectID INTEGER NOT NULL,
Name VARCHAR(25) NOT NULL,
DepartmentName VARCHAR(20) NOT NULL,
MaxHours NUMERIC NOT NULL,
StartDate DateTime,
EndDate DateTime,
CONSTRAINT PK_ProjectID PRIMARY KEY (ProjectID),
CONSTRAINT FK_DepartmentName
FOREIGN KEY (DepartmentName) REFERENCES Department (DepartmentName)
ON UPDATE CASCADE
ON DELETE NO ACTION
)