<?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>IM502的博客 &#187; newid</title>
	<atom:link href="http://www.im502.com/tag/newid/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.im502.com</link>
	<description>网站开发技术博客 php js css xml ajax mysql</description>
	<lastBuildDate>Mon, 21 Mar 2011 03:54:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Sqlserver生成随机数的一些应用</title>
		<link>http://www.im502.com/2009/11/30/sqlserver-rand-newid/</link>
		<comments>http://www.im502.com/2009/11/30/sqlserver-rand-newid/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 08:58:50 +0000</pubDate>
		<dc:creator>im502</dc:creator>
				<category><![CDATA[Sqlserver]]></category>
		<category><![CDATA[cast]]></category>
		<category><![CDATA[ceiling]]></category>
		<category><![CDATA[floor]]></category>
		<category><![CDATA[newid]]></category>
		<category><![CDATA[rand]]></category>

		<guid isPermaLink="false">http://www.im502.com/?p=249</guid>
		<description><![CDATA[Sqlserver虽然有rand()函数可以用，但单纯用rand()来获取随机数有很多限制，因为rand()生成的是类似0.747589267212168的随机小数，灵活处理一下就可以得到整数 1.select cast(ceiling(rand() * N) as int) //生成的... ]]></description>
		<wfw:commentRss>http://www.im502.com/2009/11/30/sqlserver-rand-newid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
