help con alter table de mysql

From: Date: Wed, 25 Jun 2003 15:58:59 +0000
Subject: help con alter table de mysql
Groups: php.general.es 
Request: Send a blank email to general-es+get-37799@lists.php.net to get a copy of this message
Hola a todos estoy haciendo una miniapliacion para administrar mi website y quiero alterar una table pero la instruccion me falla y no veo el error la cosa esta asi. mysql> describe web_log; +-------+------------+------+-----+------------+----------------+
| Field | Type       | Null | Key | Default    | Extra          |
+-------+------------+------+-----+------------+----------------+
| id    | tinyint(4) |      | PRI | NULL       | auto_increment |
| type  | tinyint(4) |      |     | 0          |                |
| title | tinytext   |      |     |            |                |
| date  | date       |      |     | 0000-00-00 |                |
| text  | text       |      |     |            |                |
+-------+------------+------+-----+------------+----------------+ 5 rows in set (0.00 sec) mysql> ALTER TABLE web_log ADD COLUMN lang VARCHAR; ERROR 1064: You have an error in your SQL syntax near '' at line 1 alguien me podrias ayudar con esto. muchas gracias por adelantado. ---- enzo Eduardo Garcia http://www.enzolutions.com

« previous php.general.es (#37799) next »