<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>枫子博客update</title>
	<atom:link href="http://www.imfeng.com/tag/update/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.imfeng.com</link>
	<description>很枫的那种 闲人请勿靠近</description>
	<lastBuildDate>Sun, 05 Feb 2012 11:12:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>mysql数据库命令学习之update语法</title>
		<link>http://www.imfeng.com/mysql-update/</link>
		<comments>http://www.imfeng.com/mysql-update/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 09:36:00 +0000</pubDate>
		<dc:creator>枫子</dc:creator>
				<category><![CDATA[SQL数据库]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.imfeng.com/?p=124</guid>
		<description><![CDATA[update语句在SQL中用于修改表中的数据。
update语法：
UPDATE 表名称 SET 列名称 = 新值 WHERE 列名称 = 某值
我的理解是:
update 表名称 set 列名称 = 新值 where 条件
当有多个列名称要修改的时候用"，"分隔。
如：
dedecms中修改所有ID大于10的栏目属性值为1(频道),并且同时修改频道封面模板路径为"xxx/xx.htm"。
则：
UPDATE `#@__arctype` SET `ispart` = '1',`tempindex` = 'xxx/xx.htm' WHERE `id` &#62;=10
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
			<content:encoded><![CDATA[<p>update语句在SQL中用于修改表中的数据。</p>
<h3><a href="http://www.imfeng.com/mysql-update/">update语法</a>：</h3>
<pre>UPDATE 表名称 SET 列名称 = 新值 WHERE 列名称 = 某值</pre>
<pre>我的理解是:</pre>
<pre>update 表名称 set 列名称 = 新值 where 条件</pre>
<pre>当有多个列名称要修改的时候用"，"分隔。</pre>
<pre>如：</pre>
<pre>dedecms中修改所有ID大于10的栏目属性值为1(频道),并且同时修改频道封面模板路径为"xxx/xx.htm"。</pre>
<pre>则：</pre>
<pre>UPDATE `#@__arctype` SET `ispart` = '1',`tempindex` = 'xxx/xx.htm' WHERE `id` &gt;=10</pre>
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></content:encoded>
			<wfw:commentRss>http://www.imfeng.com/mysql-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

