config: debian linux "testing", kernel 2.2.18pre21, mysql 3.23.36,
webobjects 5
I copied the sql from eomodeler and am attempting to use it with mysql.
it says:
>ERROR 1064 at line 35: You have an error in your SQL syntax near ')' at line 1
here's an excerpt from the sql:
30
31 CREATE TABLE story_assets (asset_id int , id int NOT NULL,
story_id int );
32
33 CREATE TABLE story_types (id int NOT NULL, story_type char(50) );
34
35 CREATE TABLE EO_PK_TABLE (NAME char(40), PK long);
36
37 ALTER TABLE EO_PK_TABLE ADD PRIMARY KEY (NAME);
38
39 CREATE UNIQUE INDEX EO_PK_TABLE NAME;
40
help, please.
Paul
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php