I copied and pasted your create table query into mysql and it created the
table without a problem. I'm using 3.32.32.
mysql> describe top
-> ;
+---------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+---------+---------------+------+-----+---------+----------------+
| Id | int(11) | | PRI | NULL | auto_increment |
| nadal | decimal(10,0) | YES | | NULL | |
| kuupaev | date | YES | | NULL | |
| usa1 | text | YES | | NULL | |
| usa2 | text | YES | | NULL | |
| usa3 | text | YES | | NULL | |
| usa4 | text | YES | | NULL | |
| usa5 | text | YES | | NULL | |
| usa6 | text | YES | | NULL | |
| usa7 | text | YES | | NULL | |
| usa8 | text | YES | | NULL | |
| usa9 | text | YES | | NULL | |
| usa10 | text | YES | | NULL | |
| eesti1 | text | YES | | NULL | |
| eesti2 | text | YES | | NULL | |
| eesti3 | text | YES | | NULL | |
| eesti4 | text | YES | | NULL | |
| eesti5 | text | YES | | NULL | |
| tekst | longtext | YES | | NULL | |
+---------+---------------+------+-----+---------+----------------+
19 rows in set (0.04 sec)
> -----Original Message-----
> From: Esko Lehtme [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 06, 2001 8:36 AM
> To: [EMAIL PROTECTED]
> Subject: Error creating tables
>
>
> Can anyone help?
> In this script is one bug but i can't find it :(
>
> create table top(
> Id int(11) DEFAULT '0' NOT NULL auto_increment,
> nadal numeric,
> kuupaev DATE,
> usa1 text,
> usa2 text,
> usa3 text,
> usa4 text,
> usa5 text,
> usa6 text,
> usa7 text,
> usa8 text,
> usa9 text,
> usa10 text,
> eesti1 text,
> eesti2 text,
> eesti3 text,
> eesti4 text,
> eesti5 text,
> tekst longtext,
> PRIMARY KEY (id)
> );
>
> ---------------------------------------------------------------------
> 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
>
>
>
---------------------------------------------------------------------
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