﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><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>BlogJava--随笔分类-database</title><link>http://www.blogjava.net/forker/category/24974.html</link><description>幸福 这么远 那么甜.</description><language>zh-cn</language><lastBuildDate>Thu, 29 Nov 2007 00:11:45 GMT</lastBuildDate><pubDate>Thu, 29 Nov 2007 00:11:45 GMT</pubDate><ttl>60</ttl><item><title>升级sql server  8.00.194到sp4出现挂起操作</title><link>http://www.blogjava.net/forker/archive/2007/11/27/163469.html</link><dc:creator>forker</dc:creator><author>forker</author><pubDate>Tue, 27 Nov 2007 07:39:00 GMT</pubDate><guid>http://www.blogjava.net/forker/archive/2007/11/27/163469.html</guid><wfw:comment>http://www.blogjava.net/forker/comments/163469.html</wfw:comment><comments>http://www.blogjava.net/forker/archive/2007/11/27/163469.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/forker/comments/commentRss/163469.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/forker/services/trackbacks/163469.html</trackback:ping><description><![CDATA[    下午升级升级sql server  8.00.194到sp4出现挂起操作，要求重启，重启无用，解决办法：<br />到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager<br />删除PendingFileRenameOperations的选项。<img src ="http://www.blogjava.net/forker/aggbug/163469.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/forker/" target="_blank">forker</a> 2007-11-27 15:39 <a href="http://www.blogjava.net/forker/archive/2007/11/27/163469.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>oracle sql日期比较</title><link>http://www.blogjava.net/forker/archive/2007/09/07/143467.html</link><dc:creator>forker</dc:creator><author>forker</author><pubDate>Fri, 07 Sep 2007 08:29:00 GMT</pubDate><guid>http://www.blogjava.net/forker/archive/2007/09/07/143467.html</guid><wfw:comment>http://www.blogjava.net/forker/comments/143467.html</wfw:comment><comments>http://www.blogjava.net/forker/archive/2007/09/07/143467.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/forker/comments/commentRss/143467.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/forker/services/trackbacks/143467.html</trackback:ping><description><![CDATA[
		<pre>oracle sql日期比较:<br />在今天之前:<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 255);">select</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">from</span><span style="color: rgb(0, 0, 0);"> up_date </span><span style="color: rgb(0, 0, 255);">where</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">update</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">&lt;</span><span style="color: rgb(0, 0, 0);"> to_date(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">2007-09-07 00:00:00</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">yyyy-mm-dd hh24:mi:ss</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">)<br /></span><span style="color: rgb(0, 0, 255);">select</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">from</span><span style="color: rgb(0, 0, 0);"> up_date </span><span style="color: rgb(0, 0, 255);">where</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">update</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">&lt;=</span><span style="color: rgb(0, 0, 0);"> to_date(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">2007-09-07 00:00:00</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">yyyy-mm-dd hh24:mi:ss</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">)</span></div><br />在今天只后:<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 255);">select</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">from</span><span style="color: rgb(0, 0, 0);"> up_date </span><span style="color: rgb(0, 0, 255);">where</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">update</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">&gt;</span><span style="color: rgb(0, 0, 0);"> to_date(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">2007-09-07 00:00:00</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">yyyy-mm-dd hh24:mi:ss</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">)<br /></span><span style="color: rgb(0, 0, 255);">select</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">from</span><span style="color: rgb(0, 0, 0);"> up_date </span><span style="color: rgb(0, 0, 255);">where</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">update</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">&gt;=</span><span style="color: rgb(0, 0, 0);"> to_date(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">2007-09-07 00:00:00</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">yyyy-mm-dd hh24:mi:ss</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">)</span></div><br />精确时间:<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 255);">select</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">from</span><span style="color: rgb(0, 0, 0);"> up_date </span><span style="color: rgb(0, 0, 255);">where</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">update</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">=</span><span style="color: rgb(0, 0, 0);"> to_date(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">2007-09-07 00:00:00</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">yyyy-mm-dd hh24:mi:ss</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">)</span></div><br />在某段时间内:<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 255);">select</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">from</span><span style="color: rgb(0, 0, 0);"> up_date </span><span style="color: rgb(0, 0, 255);">where</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">update</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">between</span><span style="color: rgb(0, 0, 0);"> to_date(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">2007-07-07 00:00:00</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">yyyy-mm-dd hh24:mi:ss</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">) </span><span style="color: rgb(128, 128, 128);">and</span><span style="color: rgb(0, 0, 0);"> to_date(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">2007-09-07 00:00:00</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">yyyy-mm-dd hh24:mi:ss</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">)<br /></span><span style="color: rgb(0, 0, 255);">select</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">from</span><span style="color: rgb(0, 0, 0);"> up_date </span><span style="color: rgb(0, 0, 255);">where</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">update</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">&lt;</span><span style="color: rgb(0, 0, 0);"> to_date(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">2007-09-07 00:00:00</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">yyyy-mm-dd hh24:mi:ss</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">) </span><span style="color: rgb(128, 128, 128);">and</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">update</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">&gt;</span><span style="color: rgb(0, 0, 0);"> to_date(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">2007-07-07 00:00:00</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">yyyy-mm-dd hh24:mi:ss</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">)<br /></span><span style="color: rgb(0, 0, 255);">select</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">from</span><span style="color: rgb(0, 0, 0);"> up_date </span><span style="color: rgb(0, 0, 255);">where</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">update</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">&lt;=</span><span style="color: rgb(0, 0, 0);"> to_date(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">2007-09-07 00:00:00</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">yyyy-mm-dd hh24:mi:ss</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">) </span><span style="color: rgb(128, 128, 128);">and</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">update</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">&gt;=</span><span style="color: rgb(0, 0, 0);"> to_date(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">2007-07-07 00:00:00</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">yyyy-mm-dd hh24:mi:ss</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">)</span></div></pre>
<img src ="http://www.blogjava.net/forker/aggbug/143467.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/forker/" target="_blank">forker</a> 2007-09-07 16:29 <a href="http://www.blogjava.net/forker/archive/2007/09/07/143467.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>MySql数据备份</title><link>http://www.blogjava.net/forker/archive/2007/09/06/143219.html</link><dc:creator>forker</dc:creator><author>forker</author><pubDate>Thu, 06 Sep 2007 09:08:00 GMT</pubDate><guid>http://www.blogjava.net/forker/archive/2007/09/06/143219.html</guid><wfw:comment>http://www.blogjava.net/forker/comments/143219.html</wfw:comment><comments>http://www.blogjava.net/forker/archive/2007/09/06/143219.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/forker/comments/commentRss/143219.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/forker/services/trackbacks/143219.html</trackback:ping><description><![CDATA[   MySql的备份可用命令mysqldump ，使用方法很简单，mysqldump -u 用户名 -p (密码) -h 主机名 数据库名
&gt;路径/备份名.bak；同时也可以是用mysqldump到处数据结构(tablename.sql)和数据(tablename.txt)
mysqldump -u 用户名  -p (密码)  -h 主机名 数据库名 tablename1 tablename2 &gt;
back.sql或mysqldump -u 用户名 -p (密码) -h 主机名 数据库名 --tab 路径 --opt 数据库名.
<p>   那么还原可以mysql命令，mysql -u 用户名 -p (密码) -h 主机名 --one-database 还原数据库名 &lt; 路径/备份名.bak,--one-database是指定要恢复的数据库.</p><p>  (括号表示密码不先输入，在连接时在Enter password;若密码为空可缺省-p参数)</p><img src ="http://www.blogjava.net/forker/aggbug/143219.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/forker/" target="_blank">forker</a> 2007-09-06 17:08 <a href="http://www.blogjava.net/forker/archive/2007/09/06/143219.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>hibernate映射oracle自动增长ID</title><link>http://www.blogjava.net/forker/archive/2007/08/28/140524.html</link><dc:creator>forker</dc:creator><author>forker</author><pubDate>Tue, 28 Aug 2007 07:12:00 GMT</pubDate><guid>http://www.blogjava.net/forker/archive/2007/08/28/140524.html</guid><wfw:comment>http://www.blogjava.net/forker/comments/140524.html</wfw:comment><comments>http://www.blogjava.net/forker/archive/2007/08/28/140524.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/forker/comments/commentRss/140524.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/forker/services/trackbacks/140524.html</trackback:ping><description><![CDATA[     安装有oracle数据库，创建数据库，总是要创建一个主键ID，唯一标示各条记录，但oracle不支持自动编号，所以还得创建一个SEQUENCE(序列)语句如<br />     <div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 255);">create</span><span style="color: rgb(0, 0, 0);"> sequence bign nocycle maxvalue </span><span style="color: rgb(128, 0, 0); font-weight: bold;">9999999999</span><span style="color: rgb(0, 0, 0);"> start </span><span style="color: rgb(0, 0, 255);">with</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 0, 0); font-weight: bold;">1</span><span style="color: rgb(0, 0, 0);">;</span><span style="color: rgb(128, 128, 128);">//</span><span style="color: rgb(0, 0, 0);">增加数据<br /><br /></span><span style="color: rgb(0, 0, 255);">insert</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">into</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">table</span><span style="color: rgb(0, 0, 0);"> (ID,..) </span><span style="color: rgb(0, 0, 255);">values</span><span style="color: rgb(0, 0, 0);">(bign.nextval,..)</span></div><br />     在hibernate中的映射文件可这么写<br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 255);">   &lt;</span><span style="color: rgb(128, 0, 0);">id </span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="id"</span><span style="color: rgb(255, 0, 0);"> type</span><span style="color: rgb(0, 0, 255);">="java.lang.Long"</span><span style="color: rgb(255, 0, 0);"> column</span><span style="color: rgb(0, 0, 255);">="ID"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />            </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">generator </span><span style="color: rgb(255, 0, 0);">class</span><span style="color: rgb(0, 0, 255);">="sequence"</span><span style="color: rgb(255, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />                 </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">param </span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="sequence"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">bign</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">param</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />            </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">generator</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />   </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">id</span><span style="color: rgb(0, 0, 255);">&gt;</span><br /></div><br />或<br /><br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 255);">  &lt;</span><span style="color: rgb(128, 0, 0);">id </span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="id"</span><span style="color: rgb(255, 0, 0);"> type</span><span style="color: rgb(0, 0, 255);">="java.lang.Long"</span><span style="color: rgb(255, 0, 0);"> column</span><span style="color: rgb(0, 0, 255);">="ID"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />            </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">generator </span><span style="color: rgb(255, 0, 0);">class</span><span style="color: rgb(0, 0, 255);">="increment"</span><span style="color: rgb(255, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />  </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">id</span><span style="color: rgb(0, 0, 255);">&gt;</span></div><br />(increment 用与为long，short或者int类型生成唯一标示。只有在没有其他进程忘同一张表中插入数据时才能使用。在集群下不要使用)<br /><img src ="http://www.blogjava.net/forker/aggbug/140524.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/forker/" target="_blank">forker</a> 2007-08-28 15:12 <a href="http://www.blogjava.net/forker/archive/2007/08/28/140524.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>