Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1954

ERROR: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') (no replies)

$
0
0
ERROR: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')

REFERENCES `mydb`.`Item` ()

ON DELETE NO ACTION

ON UPDATE NO ACTIO' at line 8

-------------------------------------------------

CREATE TABLE IF NOT EXISTS `mydb`.`Benefiter` (

`Address` VARCHAR(45) NOT NULL ,

`LName` VARCHAR(45) NULL ,

`Phone Number` VARCHAR(45) NULL ,

`Item Id` INT NULL ,

PRIMARY KEY (`Address`) ,

CONSTRAINT `Item Id`

FOREIGN KEY ()

REFERENCES `mydb`.`Item` ()

ON DELETE NO ACTION

ON UPDATE NO ACTION)

ENGINE = InnoDB


Could someone help me out with this please? Thank you

Viewing all articles
Browse latest Browse all 1954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>