MySQL Forums
Forum List  »  Italian

errore sintassi SQL
Posted by: luca tenan
Date: May 22, 2007 07:03AM

ciao a tutti.

ho un file con estensione sql, e quando cerco di eseguirlo con mysql per crearmi il db, ho il seguente erre di sintassi:

ERROR 1064 at line 1: You have an error in your SQL syntax near 'ENGINE=InnoDB' at line 8:

CREATE TABLE acknowledges_tmp (
acknowledgeid bigint unsigned DEFAULT '0' NOT NULL,
userid bigint unsigned DEFAULT '0' NOT NULL,
eventid bigint unsigned DEFAULT '0' NOT NULL,
clock integer DEFAULT '0' NOT NULL,
message varchar(255) DEFAULT '' NOT NULL,
PRIMARY KEY (acknowledgeid)
) ENGINE = InnoDB;

sembra che trovi l'errore nell'ultima riga.
sapete aiutarmi?

grazie

Options: ReplyQuote


Subject
Views
Written By
Posted
errore sintassi SQL
8579
May 22, 2007 07:03AM
3640
September 04, 2007 04:00AM
3452
December 27, 2007 07:13AM
3096
December 27, 2007 07:21AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.