<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Select Random Records Using Nhibernate</title>
	<atom:link href="http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/</link>
	<description>web development, tech reviews, tips, tricks, blogging</description>
	<lastBuildDate>Tue, 15 Jun 2010 18:48:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: public records</title>
		<link>http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/comment-page-1/#comment-981</link>
		<dc:creator>public records</dc:creator>
		<pubDate>Mon, 26 Apr 2010 16:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/#comment-981</guid>
		<description>The difficult part is that i also need to get 5 random records from ... the @Tbl_Organisations table in to 5 ranges and select  a random</description>
		<content:encoded><![CDATA[<p>The difficult part is that i also need to get 5 random records from &#8230; the @Tbl_Organisations table in to 5 ranges and select  a random</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web Design Company</title>
		<link>http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/comment-page-1/#comment-976</link>
		<dc:creator>Web Design Company</dc:creator>
		<pubDate>Thu, 07 Jan 2010 16:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/#comment-976</guid>
		<description>NHibernate is a port of the popular Java O/R mapper Hibernate to .NET. Version 1.0 mirrored the feature set of Hibernate 2.1, as well as a number of features from Hibernate 3.</description>
		<content:encoded><![CDATA[<p>NHibernate is a port of the popular Java O/R mapper Hibernate to .NET. Version 1.0 mirrored the feature set of Hibernate 2.1, as well as a number of features from Hibernate 3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eibrahim</title>
		<link>http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/comment-page-1/#comment-899</link>
		<dc:creator>eibrahim</dc:creator>
		<pubDate>Sun, 20 Dec 2009 23:48:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/#comment-899</guid>
		<description>I read through it and it says that it doesn&#039;t work with a small number of&lt;br&gt;rows.  I need only 5 rows...  I guess I would have to do something like&lt;br&gt;&lt;br&gt;SELECT TOP 5 * FROM MyTable TABLESAMPLE (100 ROWS)&lt;br&gt;&lt;br&gt;The question is how do I do it in nhibernate.  Is the only way to do this is&lt;br&gt;to use a SQL Query?</description>
		<content:encoded><![CDATA[<p>I read through it and it says that it doesn&#39;t work with a small number of<br />rows.  I need only 5 rows&#8230;  I guess I would have to do something like</p>
<p>SELECT TOP 5 * FROM MyTable TABLESAMPLE (100 ROWS)</p>
<p>The question is how do I do it in nhibernate.  Is the only way to do this is<br />to use a SQL Query?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrei Rinea</title>
		<link>http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/comment-page-1/#comment-898</link>
		<dc:creator>Andrei Rinea</dc:creator>
		<pubDate>Sun, 20 Dec 2009 23:40:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/#comment-898</guid>
		<description>Sure, I had put a link to &lt;a href=&quot;http://www.mssqltips.com/tip.asp?tip=1308&quot; rel=&quot;nofollow&quot;&gt;http://www.mssqltips.com/tip.asp?tip=1308&lt;/a&gt; in the last comment but it got stripped away...</description>
		<content:encoded><![CDATA[<p>Sure, I had put a link to <a href="http://www.mssqltips.com/tip.asp?tip=1308" rel="nofollow">http://www.mssqltips.com/tip.asp?tip=1308</a> in the last comment but it got stripped away&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eibrahim</title>
		<link>http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/comment-page-1/#comment-897</link>
		<dc:creator>eibrahim</dc:creator>
		<pubDate>Sun, 20 Dec 2009 23:36:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/#comment-897</guid>
		<description>Can you give us an example or a link to an example?  I have never heard of&lt;br&gt;tablesample :)</description>
		<content:encoded><![CDATA[<p>Can you give us an example or a link to an example?  I have never heard of<br />tablesample :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrei Rinea</title>
		<link>http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/comment-page-1/#comment-896</link>
		<dc:creator>Andrei Rinea</dc:creator>
		<pubDate>Sun, 20 Dec 2009 19:32:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/#comment-896</guid>
		<description>Don&#039;t use order by newid() because you&#039;ll be having performance issues as the table grows (probably there will be a full table scan). Use TABLESAMPLE instead.&lt;br&gt;&lt;br&gt;see this &lt;a href=&quot;http://www.mssqltips.com/tip.asp?tip=1308&quot; rel=&quot;nofollow&quot;&gt;tip&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Don&#39;t use order by newid() because you&#39;ll be having performance issues as the table grows (probably there will be a full table scan). Use TABLESAMPLE instead.</p>
<p>see this <a href="http://www.mssqltips.com/tip.asp?tip=1308" rel="nofollow">tip</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eibrahim</title>
		<link>http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/comment-page-1/#comment-885</link>
		<dc:creator>eibrahim</dc:creator>
		<pubDate>Sun, 20 Dec 2009 15:48:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/#comment-885</guid>
		<description>I read through it and it says that it doesn&#039;t work with a small number of&lt;br&gt;rows.  I need only 5 rows...  I guess I would have to do something like&lt;br&gt;&lt;br&gt;SELECT TOP 5 * FROM MyTable TABLESAMPLE (100 ROWS)&lt;br&gt;&lt;br&gt;The question is how do I do it in nhibernate.  Is the only way to do this is&lt;br&gt;to use a SQL Query?</description>
		<content:encoded><![CDATA[<p>I read through it and it says that it doesn&#39;t work with a small number of<br />rows.  I need only 5 rows&#8230;  I guess I would have to do something like</p>
<p>SELECT TOP 5 * FROM MyTable TABLESAMPLE (100 ROWS)</p>
<p>The question is how do I do it in nhibernate.  Is the only way to do this is<br />to use a SQL Query?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrei Rinea</title>
		<link>http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/comment-page-1/#comment-884</link>
		<dc:creator>Andrei Rinea</dc:creator>
		<pubDate>Sun, 20 Dec 2009 15:40:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/#comment-884</guid>
		<description>Sure, I had put a link to &lt;a href=&quot;http://www.mssqltips.com/tip.asp?tip=1308&quot; rel=&quot;nofollow&quot;&gt;http://www.mssqltips.com/tip.asp?tip=1308&lt;/a&gt; in the last comment but it got stripped away...</description>
		<content:encoded><![CDATA[<p>Sure, I had put a link to <a href="http://www.mssqltips.com/tip.asp?tip=1308" rel="nofollow">http://www.mssqltips.com/tip.asp?tip=1308</a> in the last comment but it got stripped away&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eibrahim</title>
		<link>http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/comment-page-1/#comment-883</link>
		<dc:creator>eibrahim</dc:creator>
		<pubDate>Sun, 20 Dec 2009 15:36:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/#comment-883</guid>
		<description>Can you give us an example or a link to an example?  I have never heard of&lt;br&gt;tablesample :)</description>
		<content:encoded><![CDATA[<p>Can you give us an example or a link to an example?  I have never heard of<br />tablesample :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrei Rinea</title>
		<link>http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/comment-page-1/#comment-882</link>
		<dc:creator>Andrei Rinea</dc:creator>
		<pubDate>Sun, 20 Dec 2009 11:32:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.emadibrahim.com/2009/12/16/select-random-records-using-nhibernate/#comment-882</guid>
		<description>Don&#039;t use order by newid() because you&#039;ll be having performance issues as the table grows (probably there will be a full table scan). Use TABLESAMPLE instead.&lt;br&gt;&lt;br&gt;see this &lt;a href=&quot;http://www.mssqltips.com/tip.asp?tip=1308&quot; rel=&quot;nofollow&quot;&gt;tip&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Don&#39;t use order by newid() because you&#39;ll be having performance issues as the table grows (probably there will be a full table scan). Use TABLESAMPLE instead.</p>
<p>see this <a href="http://www.mssqltips.com/tip.asp?tip=1308" rel="nofollow">tip</a>.</p>
]]></content:encoded>
	</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! -->