MySQL Forums
Forum List  »  General

Re: sql to retrieve column and table comment
Posted by: Mike Hillyer
Date: January 11, 2005 10:31AM

SHOW FULL COLUMNS FROM test;

That will return a column named 'Comment' that can be used for column comments, and SHOW CREATE TABLE returns the initial CREATE TABLE statement, which you could parse for the comment of the table.

Mike Hillyer, Technical Writer
MySQL AB, www.mysql.com
Office: +1 403-380-6535
Mobile: +1 403-330-0870
Blog: http://www.openwin.org/mike

Options: ReplyQuote


Subject
Written By
Posted
Re: sql to retrieve column and table comment
January 11, 2005 10:31AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.