<?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: OData Query Option top Forces Data To Be Sorted By Primary Key</title>
	<atom:link href="http://peterkellner.net/2010/03/31/odata-wcfdataservice-top-orderby-default-sort/feed/" rel="self" type="application/rss+xml" />
	<link>http://peterkellner.net/2010/03/31/odata-wcfdataservice-top-orderby-default-sort/</link>
	<description>Microsoft Focussed, JavaScript (ExtJS, SenchaTouch &#38; Windows 8 Metro)</description>
	<lastBuildDate>Wed, 08 Feb 2012 21:38:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: LA</title>
		<link>http://peterkellner.net/2010/03/31/odata-wcfdataservice-top-orderby-default-sort/comment-page-1/#comment-31169</link>
		<dc:creator>LA</dc:creator>
		<pubDate>Thu, 20 Oct 2011 22:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2010/03/31/odata-wcfdataservice-top-orderby-default-sort/#comment-31169</guid>
		<description>So let me get this straight. If you DO NOT specify a $orderby or $top option, then the results from OData will be listed in the order the items were inserted into the database?</description>
		<content:encoded><![CDATA[<p>So let me get this straight. If you DO NOT specify a $orderby or $top option, then the results from OData will be listed in the order the items were inserted into the database?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://peterkellner.net/2010/03/31/odata-wcfdataservice-top-orderby-default-sort/comment-page-1/#comment-26363</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Wed, 31 Mar 2010 19:30:31 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2010/03/31/odata-wcfdataservice-top-orderby-default-sort/#comment-26363</guid>
		<description>Hi Marcelo,
The reason I did not expect the behavior is because I am use to SQL Server and how it handles Select top.  In SqlServer, using select top does not force a sort.</description>
		<content:encoded><![CDATA[<p>Hi Marcelo,<br />
The reason I did not expect the behavior is because I am use to SQL Server and how it handles Select top.  In SqlServer, using select top does not force a sort.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcelo - MSFT</title>
		<link>http://peterkellner.net/2010/03/31/odata-wcfdataservice-top-orderby-default-sort/comment-page-1/#comment-26362</link>
		<dc:creator>Marcelo - MSFT</dc:creator>
		<pubDate>Wed, 31 Mar 2010 18:49:40 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2010/03/31/odata-wcfdataservice-top-orderby-default-sort/#comment-26362</guid>
		<description>Just wanted to drop a note and confirm that this is indeed the case.

The idea behind this decision is that we wanted clients to be able to &#039;scan&#039; a complete feed by using a series of $top/$skip requests, but to do that we need to guarantee that the results are ordered by *something*.

So if there isn&#039;t an $orderby option, the system orders by primary key (which will give a stable order to all entries).</description>
		<content:encoded><![CDATA[<p>Just wanted to drop a note and confirm that this is indeed the case.</p>
<p>The idea behind this decision is that we wanted clients to be able to &#8217;scan&#8217; a complete feed by using a series of $top/$skip requests, but to do that we need to guarantee that the results are ordered by *something*.</p>
<p>So if there isn&#8217;t an $orderby option, the system orders by primary key (which will give a stable order to all entries).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 3/16 queries in 0.040 seconds using disk

Served from: peterkellner.net @ 2012-02-10 06:48:29 -->
