<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>AUG Team - PHP + Mysql</title><link>http://www.augweb.net/blog/</link><description>welcome。。。 - </description><generator>RainbowSoft Studio Z-Blog 1.8 Spirit Build 80605</generator><language>zh-CN</language><copyright>Copyright @ 2003-2008 AUG.(专业网站建设 北京) All Rights Reserved.</copyright><pubDate>Sun, 05 Sep 2010 23:11:28 +0800</pubDate><item><title>MySQL - SHOW 句法（取得表、字段的信息）</title><author>lorrons@gmail.com (lorron)</author><link>http://www.augweb.net/blog/post/32.html</link><pubDate>Tue, 05 Aug 2008 17:11:00 +0800</pubDate><guid>http://www.augweb.net/blog/post/32.html</guid><description><![CDATA[<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:0f3752b3-68ba-4add-b5b3-b63c4ad1650f" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Tags: <a href="http://www.aiyouji.com/blog/catalog.asp?tags=mysql" rel="tag">mysql</a></div> <p>SHOW DATABASES︰列出 MySQL Server 上的資料庫。<br>SHOW TABLES [FROM db_name]︰列出資料庫的資料表。<br>SHOW TABLE STATUS [FROM db_name]︰列出資料庫的資料表，提供比較詳細的訊息。<br>SHOW COLUMNS FROM tbl_name [FROM db_name]︰列出資料表的欄位，同 SHOW FIELDS FROM tbl_name [FROM db_name]，DESCRIBE tbl_name [col_name]。<br>SHOW FULL COLUMNS FROM tbl_name [FROM db_name]︰列出資料表的欄位，提供比較詳細的訊息，同 SHOW FULL FIELDS FROM tbl_name [FROM db_name]。<br>SHOW INDEX FROM tbl_name [FROM db_name]︰列出資料表的索引訊息。<br>SHOW STATUS︰列出 Server 的狀態訊息。<br>SHOW VARIABLES︰列出 MySQL 系統變數的值。<br>SHOW PROCESSLIST︰顯示哪個執行緒正在運行。<br>SHOW GRANTS FOR user︰列出對一個用戶必須發出以重複授權的授權命令。]]></description><category>PHP + Mysql</category><comments>http://www.augweb.net/blog/post/32.html#comment</comments><wfw:comment>http://www.augweb.net/blog/</wfw:comment><wfw:commentRss>http://www.augweb.net/blog/feed.asp?cmt=32</wfw:commentRss><trackback:ping>http://www.augweb.net/blog/cmd.asp?act=tb&amp;id=32&amp;key=d4394e19</trackback:ping></item><item><title>取mysql表和字段注释的语句</title><author>lorrons@gmail.com (lorron)</author><link>http://www.augweb.net/blog/post/31.html</link><pubDate>Mon, 04 Aug 2008 02:57:59 +0800</pubDate><guid>http://www.augweb.net/blog/post/31.html</guid><description><![CDATA[<p>取mysql表和字段注释的语句  <p>取字段注释  <p>SELECT COLUMN_NAME 列名, DATA_TYPE 字段类型, COLUMN_COMMENT 字段注释<br>FROM INFORMATION_SCHEMA.COLUMNS<br>WHERE table_name = 'companies'##表名<br>AND table_schema = 'testhuicard'##数据库名<br>AND column_name LIKE 'c_name'##字段名  <p>SELECT table_name&nbsp; 表名,TABLE_COMMENT 表注释 FROM INFORMATION_SCHEMA.TABLES&nbsp; WHERE table_schema = 'testhuicard' ##数据库名  <p>AND table_name LIKE 'companies'##表名  <p>参考<a href="http://dev.mysql.com/doc/refman/5.1/zh/information-schema.html">http://dev.mysql.com/doc/refman/5.1/zh/information-schema.html</a>.<br>mysql手册：23.1. INFORMATION_SCHEMA表</p>]]></description><category>PHP + Mysql</category><comments>http://www.augweb.net/blog/post/31.html#comment</comments><wfw:comment>http://www.augweb.net/blog/</wfw:comment><wfw:commentRss>http://www.augweb.net/blog/feed.asp?cmt=31</wfw:commentRss><trackback:ping>http://www.augweb.net/blog/cmd.asp?act=tb&amp;id=31&amp;key=6d8bc197</trackback:ping></item></channel></rss>
