Re: TEXT lenght
| From: | Carroll Barrett | Date: | Mon, 17 Jul 2000 20:52:24 +0000 |
| Subject: | Re: TEXT lenght | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1212@lists.php.net to get a copy of this message | ||
No. See
http://www.mysql.com/documentation/mysql/commented/manual.php?sec
tion=CREATE_TABLE
Carroll Barrett
-----Original Message-----
From: Sharif Islam <mislam@students.uiuc.edu>
To: php-db@lists.php.net <php-db@lists.php.net>
Date: Monday, July 17, 2000 3:55 PM
Subject: [PHP-DB] TEXT lenght
>
>I am getting error for this:
>CREATE TABLE table_name ( id INT NOT NULL AUTO_INCREMENT, first
TEXT(20),
>last VARCHAR(20), phone VARCHAR(20), PRIMARY KEY(id) );
>
>
>Is it legitimate to assign a field length when using data type
TEXT?
>
>It seems to be the problem here.
>
>Thanks in advance
>
>-Sharif
>
>
>
>--
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
>For additional commands, e-mail: php-db-help@lists.php.net
>To contact the list administrators, e-mail:
php-list-admin@lists.php.net
>