TEXT lenght

From: Date: Mon, 17 Jul 2000 20:31:59 +0000
Subject: TEXT lenght
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-1210@lists.php.net to get a copy of this message
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

« previous php.db (#1210) next »