<?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: Simple Oracle pagination</title>
	<atom:link href="http://www.hazaah.com/databases/simple-oracle-pagination/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hazaah.com/databases/simple-oracle-pagination/</link>
	<description>buffle the world</description>
	<lastBuildDate>Fri, 12 Feb 2010 18:20:09 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: James Holder</title>
		<link>http://www.hazaah.com/databases/simple-oracle-pagination/comment-page-1/#comment-1301</link>
		<dc:creator>James Holder</dc:creator>
		<pubDate>Mon, 04 Jun 2007 15:33:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.knowbies.com/vladimir-cvetic/something-else/simple-oracle-pagination/#comment-1301</guid>
		<description>I don&#039;t think that is going to work in oracle, especially without an order by clause, and even then I don&#039;t think it will always work. Since there is no guarantee that oracle will return the records in the same order, even in the same query, and rownum is only a pseudo-cloumn at that.You&#039;d have to query and order by, and then requery that ordered query to get a recordset that actually has the rownums correctly assigned.

To use the minus statement i think you&#039;d have to do something like:
(select * from
(select * from emp
where rownum </description>
		<content:encoded><![CDATA[<p>I don&#8217;t think that is going to work in oracle, especially without an order by clause, and even then I don&#8217;t think it will always work. Since there is no guarantee that oracle will return the records in the same order, even in the same query, and rownum is only a pseudo-cloumn at that.You&#8217;d have to query and order by, and then requery that ordered query to get a recordset that actually has the rownums correctly assigned.</p>
<p>To use the minus statement i think you&#8217;d have to do something like:<br />
(select * from<br />
(select * from emp<br />
where rownum</p>
]]></content:encoded>
	</item>
</channel>
</rss>
