MadProfessor,
Friday, March 15, 2002, 2:51:07 PM, you wrote:

M> Stupid newbie question, but why in the hell can't I get this damned TEXT
M> column added? I've specified it as size 254 and cannot get it to
M> work.... Someone please give me an example of a working create table
M> statement with a TEXT or LONGTEXT column? I've read through my book
M> (MySQL) and checked the documentation, but no working examples, just the
M> standard stuff......

mysql> create table test(
    -> id int primary key,
    -> article text);

You shouldn't specify size for text column. Check the following link:
    http://www.mysql.com/doc/n/o/node_368.html
You can find storage requirement for text column types there.

M> Cheers,
M> MadProfessor ZERO




-- 
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
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

Reply via email to