<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Column Comments in MySQL</title>
	<atom:link href="http://dorkage.net/blog/2009/01/12/column-comments-in-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://dorkage.net/blog/2009/01/12/column-comments-in-mysql/</link>
	<description>überblog geek life, humour, insights, and meta stuff</description>
	<lastBuildDate>Thu, 31 Mar 2011 15:54:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
	<atom:link rel="hub" href="http://superfeedr.com/hubbub" />
		<item>
		<title>By: Colleen</title>
		<link>http://dorkage.net/blog/2009/01/12/column-comments-in-mysql/comment-page-1/#comment-3517</link>
		<dc:creator>Colleen</dc:creator>
		<pubDate>Sun, 13 Mar 2011 04:18:17 +0000</pubDate>
		<guid isPermaLink="false">http://dorkage.net/?p=451#comment-3517</guid>
		<description>I would&#039;t put too much stock in this post, it&#039;s waay out of date.  My todo list clean out all these old posts but you can see the date on it.</description>
		<content:encoded><![CDATA[<p>I would&#8217;t put too much stock in this post, it&#8217;s waay out of date.  My todo list clean out all these old posts but you can see the date on it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dean</title>
		<link>http://dorkage.net/blog/2009/01/12/column-comments-in-mysql/comment-page-1/#comment-3489</link>
		<dc:creator>Dean</dc:creator>
		<pubDate>Sat, 12 Mar 2011 05:35:21 +0000</pubDate>
		<guid isPermaLink="false">http://dorkage.net/?p=451#comment-3489</guid>
		<description>Hi, 

I did what you suggested, but when I do DESCRIBE table_name, the comment is not there!
What is going on? How do I see the comments?

FYI, here is the test column that I created with comment as per your suggestion:
ALTER TABLE compare temp VARCHAR(200) DEFAULT &#039;Hello&#039; COMMENT &#039;This is my comment about this column&#039;;

ThanX</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>I did what you suggested, but when I do DESCRIBE table_name, the comment is not there!<br />
What is going on? How do I see the comments?</p>
<p>FYI, here is the test column that I created with comment as per your suggestion:<br />
ALTER TABLE compare temp VARCHAR(200) DEFAULT &#8216;Hello&#8217; COMMENT &#8216;This is my comment about this column&#8217;;</p>
<p>ThanX</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tibia chars</title>
		<link>http://dorkage.net/blog/2009/01/12/column-comments-in-mysql/comment-page-1/#comment-2992</link>
		<dc:creator>Tibia chars</dc:creator>
		<pubDate>Mon, 10 Jan 2011 21:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://dorkage.net/?p=451#comment-2992</guid>
		<description>&lt;a href=&quot;http://tibiamonsters2.blogspot.com/2011/01/visit-to-thais.html&quot; rel=&quot;nofollow&quot;&gt;thais&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><a href="http://tibiamonsters2.blogspot.com/2011/01/visit-to-thais.html" rel="nofollow">thais</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ganhar Dinheiro Online</title>
		<link>http://dorkage.net/blog/2009/01/12/column-comments-in-mysql/comment-page-1/#comment-2725</link>
		<dc:creator>Ganhar Dinheiro Online</dc:creator>
		<pubDate>Sun, 09 Jan 2011 05:21:26 +0000</pubDate>
		<guid isPermaLink="false">http://dorkage.net/?p=451#comment-2725</guid>
		<description>hello escreves temas muito interessantes no teu blogue....</description>
		<content:encoded><![CDATA[<p>hello escreves temas muito interessantes no teu blogue&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention Hot Dorkage -- Topsy.com</title>
		<link>http://dorkage.net/blog/2009/01/12/column-comments-in-mysql/comment-page-1/#comment-2297</link>
		<dc:creator>Tweets that mention Hot Dorkage -- Topsy.com</dc:creator>
		<pubDate>Mon, 07 Jun 2010 14:32:04 +0000</pubDate>
		<guid isPermaLink="false">http://dorkage.net/?p=451#comment-2297</guid>
		<description>[...] This post was mentioned on Twitter by RADAGA Proc. Dados, Fernando Schubert. Fernando Schubert said: @Loxford Isso ai q vc quer: http://dorkage.net/2009/01/column-comments-in-mysql/ [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by RADAGA Proc. Dados, Fernando Schubert. Fernando Schubert said: @Loxford Isso ai q vc quer: <a href="http://dorkage.net/2009/01/column-comments-in-mysql/" rel="nofollow">http://dorkage.net/2009/01/column-comments-in-mysql/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://dorkage.net/blog/2009/01/12/column-comments-in-mysql/comment-page-1/#comment-2258</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 24 May 2010 23:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://dorkage.net/?p=451#comment-2258</guid>
		<description>I used to use a method like that as well.  However if you have your DDL under version control and you test the db changes on a staging server and only push them out to production when stable, the danger is minimized.  I would not recommend anybody just barge out and hack on the database schema on a production server.</description>
		<content:encoded><![CDATA[<p>I used to use a method like that as well.  However if you have your DDL under version control and you test the db changes on a staging server and only push them out to production when stable, the danger is minimized.  I would not recommend anybody just barge out and hack on the database schema on a production server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://dorkage.net/blog/2009/01/12/column-comments-in-mysql/comment-page-1/#comment-2252</link>
		<dc:creator>David</dc:creator>
		<pubDate>Fri, 21 May 2010 15:04:54 +0000</pubDate>
		<guid isPermaLink="false">http://dorkage.net/?p=451#comment-2252</guid>
		<description>That&#039;s why I don&#039;t use it - changing table definitions in order to document them is too dangerous. 

I use a separate table, which I call data_dictionary, with three fields: table_name, column_name, and comment. A simple program (in perl, php, or whatever) uses the &quot;show tables&quot; and &quot;describe table_name&quot; MySQL commands to enumerate the actual database schema and then looks up the comments on the tables and columns. Presto! A self-documenting schema.</description>
		<content:encoded><![CDATA[<p>That&#8217;s why I don&#8217;t use it &#8211; changing table definitions in order to document them is too dangerous. </p>
<p>I use a separate table, which I call data_dictionary, with three fields: table_name, column_name, and comment. A simple program (in perl, php, or whatever) uses the &#8220;show tables&#8221; and &#8220;describe table_name&#8221; MySQL commands to enumerate the actual database schema and then looks up the comments on the tables and columns. Presto! A self-documenting schema.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://dorkage.net/blog/2009/01/12/column-comments-in-mysql/comment-page-1/#comment-2128</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 19 Mar 2010 17:35:04 +0000</pubDate>
		<guid isPermaLink="false">http://dorkage.net/?p=451#comment-2128</guid>
		<description>Hmmm... well it worked on whatever version I was using when I wrote the blog post.</description>
		<content:encoded><![CDATA[<p>Hmmm&#8230; well it worked on whatever version I was using when I wrote the blog post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Corrick</title>
		<link>http://dorkage.net/blog/2009/01/12/column-comments-in-mysql/comment-page-1/#comment-2125</link>
		<dc:creator>Bob Corrick</dc:creator>
		<pubDate>Thu, 18 Mar 2010 15:07:36 +0000</pubDate>
		<guid isPermaLink="false">http://dorkage.net/?p=451#comment-2125</guid>
		<description>Server version: 5.1.33-enterprise-gpl-advanced-log MySQL Enterprise Server - Advanced Edition (GPL) did not accept CHANGE COLUMN.

I had to use MODIFY TABLE... ALTER COLUMN...</description>
		<content:encoded><![CDATA[<p>Server version: 5.1.33-enterprise-gpl-advanced-log MySQL Enterprise Server &#8211; Advanced Edition (GPL) did not accept CHANGE COLUMN.</p>
<p>I had to use MODIFY TABLE&#8230; ALTER COLUMN&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://dorkage.net/blog/2009/01/12/column-comments-in-mysql/comment-page-1/#comment-1719</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 19 Nov 2009 20:15:14 +0000</pubDate>
		<guid isPermaLink="false">http://dorkage.net/?p=451#comment-1719</guid>
		<description>I agree this is ludicrous, that&#039;s why so many people didn&#039;t do it, or didn&#039;t update them.  But surely no one would just bash something like that directly into a production database.  It would always be good to test on a copy  and also put it under version control.   There may be a better way now--his post is kinda old and based on MySQL 4.1 I think.   And anyway a lot more people generate their SQL create table statements with automatic tools these days.  So perhaps commenting the YAML would work as well or better.  </description>
		<content:encoded><![CDATA[<p>I agree this is ludicrous, that&#8217;s why so many people didn&#8217;t do it, or didn&#8217;t update them.  But surely no one would just bash something like that directly into a production database.  It would always be good to test on a copy  and also put it under version control.   There may be a better way now&#8211;his post is kinda old and based on MySQL 4.1 I think.   And anyway a lot more people generate their SQL create table statements with automatic tools these days.  So perhaps commenting the YAML would work as well or better.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

