Just use the same type as the column already has... Olaf
On 12/30/08 12:40 PM, "Carlos Savoretti" <csavore...@clubsanjorge.com.ar> wrote: > Hi all: > > Is it possible to change a column description > _without_ having to reset its type ? It is, > I has not to change its type, just its comment ... > > Example: > ALTER TABLE products CHANGE COLUMNS product_id product_id INTEGER > COMMENT 'Foo'; > > In Postgresql, it's done with: > COMMENT ON COLUMN products.product_id IS 'Foo'; > > Thanks in advance > > Carlos Savoretti. > > ----------------------------------------- Confidentiality Notice: The following mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. The recipient is responsible to maintain the confidentiality of this information and to use the information only for authorized purposes. If you are not the intended recipient (or authorized to receive information for the intended recipient), you are hereby notified that any review, use, disclosure, distribution, copying, printing, or action taken in reliance on the contents of this e-mail is strictly prohibited. If you have received this communication in error, please notify us immediately by reply e-mail and destroy all copies of the original message. Thank you. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=arch...@jab.org