<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Fetching less number of rows</title><link>https://community.appian.com/discussions/f/general/8822/fetching-less-number-of-rows</link><description>I am using one query rule for fetching records from DB.While execute the select query in DB it displays 9 records but when execute the query from appain it displays 3 records.. i dont know where I am doing wrong please help me rule!queryrule(pv!text,a</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Fetching less number of rows</title><link>https://community.appian.com/thread/39220?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2016 20:21:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d8b015a9-effd-424e-89fc-246980f60684</guid><dc:creator>bhanuprakashm</dc:creator><description>@ashman,@rodgraham.. thanks for you inputs..now its working fine&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fetching less number of rows</title><link>https://community.appian.com/thread/39217?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2016 19:14:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c81a8561-6240-485c-9e93-2537c23f8f4f</guid><dc:creator>chandu</dc:creator><description>@rodgraham. Thank You :)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fetching less number of rows</title><link>https://community.appian.com/thread/39216?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2016 19:11:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:66cb5453-e34f-4ca2-a03d-674c269ff8bb</guid><dc:creator>rodgraham</dc:creator><description>@chandrasekharg - if you create a query rule, when you call it there&amp;#39;s an optional parameter of type pagingInfo, which if passed would return a datasubset&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fetching less number of rows</title><link>https://community.appian.com/thread/39215?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2016 19:08:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5ca7be2f-473d-43a4-8e6d-f191154109b1</guid><dc:creator>rodgraham</dc:creator><description>The field that you&amp;#39;ve got @Id in the xsd,are they all unique values in the database? As I recall In a query rule it&amp;#39;ll only return unique rows. &lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fetching less number of rows</title><link>https://community.appian.com/thread/39213?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2016 19:05:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f91d1670-4f73-4141-9f19-2b3e33727020</guid><dc:creator>chandu</dc:creator><description>Can we pass pagingInfo to Query rule?Could you please let us know how can we do that?&lt;br /&gt;&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fetching less number of rows</title><link>https://community.appian.com/thread/39212?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2016 18:56:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:09413293-615e-4eb8-9c42-9933fa6a8e1a</guid><dc:creator>ashman</dc:creator><description>Hi Bhanu,&lt;br /&gt; Could you please check whether you have given unique value as a primary key..I too faced the same behaviour when I test the rule.After changing the primary key,I got the results as expected.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fetching less number of rows</title><link>https://community.appian.com/thread/39211?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2016 18:52:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bca0c332-dea1-40d7-9530-5da35dc5c355</guid><dc:creator>bhanuprakashm</dc:creator><description>one more thing, if using a!paginginfo with ascending true it  displays last 3 records or display first 3 records&lt;br /&gt;I faced very weird behaviour&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fetching less number of rows</title><link>https://community.appian.com/thread/39210?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2016 18:49:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd89a216-35fd-466e-8265-0c20db125dce</guid><dc:creator>bhanuprakashm</dc:creator><description>yes.. i am checking same condition&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fetching less number of rows</title><link>https://community.appian.com/thread/39209?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2016 18:48:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:db1ed649-c8ef-45d7-ac44-e03e691d2653</guid><dc:creator>chandu</dc:creator><description>did you check whether the query rule has configured any condition? Are u executing the same condition in where clause of the select query in DB?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>