Randy Burgess <[EMAIL PROTECTED]> wrote:
> Apologies for what is a pitifully simple question from someone who has 
> just started using MySQL 4.0. I've looked in the documentation and 
> elsewhere, but can't find the exact syntax for adding comments to 
> columns when creating a table. My attempts at guessing the syntax so far 
> have failed. Tips, hints, examples? Thanks--
> 

Comment on the column level is supported from version 4.1.

 CREATE TABLE t1(id int COMMENT 'comment');


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





-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to