MySQL Forums
Forum List  »  Other Migration

Re: create table
Posted by: Randy Elliott
Date: July 21, 2004 08:34AM

Thanks for the update. I spent a lot of time there yesterday morning. We just downloaded mysql Monday morning.

Evidently I am missing something. Here is my create table:

CREATE TABLE TEST.LdgrMaster
( LD_ACCTID char (10) NOT NULL
,LD_DTEKEYED_YMD char (8) NOT NULL
,LD_LEDCTR char (5) NOT NULL
,LD_AGNT char (4) NULL
,LD_TIME char (4) NULL

PRIMARY KEY LD_ACCTID ,LD_DTEKEYED_YMD ,LD_LEDCTR) TYPE=MYISAM;

Here is my error message.

mysql> source createldgrtable.sql
ERROR 1064: You have an error in your SQL syntax. Check the manual that corresp
onds to your MySQL server version for the right syntax to use near 'LD_ACCTID ,L
D_DTEKEYED_YMD ,LD_LEDCTR) TYPE=MYISAM' at line 8
mysql>

Any help would be greatly appreciated.

Randy

Options: ReplyQuote


Subject
Views
Written By
Posted
5412
July 20, 2004 12:20PM
4972
July 20, 2004 02:59PM
Re: create table
3002
July 21, 2004 08:34AM
2719
July 21, 2004 08:52AM
2936
July 21, 2004 09:02AM
2811
July 21, 2004 09:11AM
2700
July 21, 2004 09:26AM
2751
July 21, 2004 09:36AM


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.