<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[[实践OK]PhpMyAdmin里面加上唯一索引和自增长的方法，二是ENUM在PhpMyAdmin里面添加方法，用如下sql命令]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Fri, 22 Aug 2008 03:39:52 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	一）PhpMyAdmin里面加上唯一索引和自增长：<br/>phpmyadmin设置id自增(AUTO_INCREMENT)&nbsp;&nbsp; 在A_I 前面打勾。<br/>来自：[url=https://jingyan.baidu.com/article/fcb5aff7b3a025edaa4a7130.html]https://jingyan.baidu.com/article/fcb5aff7b3a025edaa4a7130.html[/url]<br/>唯一索引：在A_I左边有索引指示，下拉即可选择，主要就是自增，否则入库时会提示save() needs primaryKey ，id字段一个是唯一一个是自增两者都需要，否则还是会提示save() needs primaryKey&nbsp;&nbsp;，算是表的第一个字段的标配。<br/><br/><br/>二）PhpMyAdmin界面添加:<br/>字段 q_status&nbsp;&nbsp;<br/>类型&nbsp;&nbsp;ENUM<br/>长度/值*1&nbsp;&nbsp;&#039;def&#039;,&#039;pub&#039;,&#039;del&#039;<br/><br/>ALTER TABLE `test_subject` ADD `Status` ENUM(&#039;view&#039;,&#039;pub&#039;,&#039;del&#039;) NOT NULL <br/>ALTER TABLE `user_test` ADD `is_correct` ENUM(&#039;yes&#039;,&#039;no&#039;) NOT NULL
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [实践OK]PhpMyAdmin里面加上唯一索引和自增长的方法，二是ENUM在PhpMyAdmin里面添加方法，用如下sql命令]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>