<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Query layer fails even when MSSQLServer succeeds in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/query-layer-fails-even-when-mssqlserver-succeeds/m-p/45142#M2537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having the same issue with my query layers.&amp;nbsp; SQL query has no issue finding the appropriate data.&amp;nbsp; AM struggled to return the query properly.&amp;nbsp; Fix has been inconsistent.&amp;nbsp; First was to return only a selection of records:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;select TOP 10000 * from (select * from&lt;BR /&gt;JRS_Farm_Fields.dbo.LL_GVF_CropDetail_Model_Boundary&amp;nbsp; where Year = '2015')&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;a order by Est_Harvest_Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;then we resorted to &lt;SPAN style="font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;select * from&lt;BR /&gt;JRS_Farm_Fields.dbo.LL_GVF_CropDetail_Model_Boundary&amp;nbsp; where Year = '2015'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; mso-bidi-font-family: 'Times New Roman'; font-size: 11pt; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: 'Calibri',sans-serif; mso-fareast-font-family: Calibri;"&gt;We are using SQL Server 2012 and AGS 10.3.&amp;nbsp; We have found that although our DT is 10.3 - on our 10.2 server - this is not an issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2015 22:42:49 GMT</pubDate>
    <dc:creator>BobWheeler</dc:creator>
    <dc:date>2015-02-10T22:42:49Z</dc:date>
    <item>
      <title>Query layer fails even when MSSQLServer succeeds</title>
      <link>https://community.esri.com/t5/data-management-questions/query-layer-fails-even-when-mssqlserver-succeeds/m-p/45141#M2536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have problem with a query layer. I have a table with a geography column in my SQL Server 2012. I defined a query layer over that table and even though MSSQL has no problem showing me the shape and spatial results, ArcMAP insists that the shape is invalid saying "The specified coordinate exceeds the valid coordinate range". Any help is much appreciated!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The version of ArcGIS is 10.2.1 and the shape is a regular short LINESTRING&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance, Alex.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 13:41:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/query-layer-fails-even-when-mssqlserver-succeeds/m-p/45141#M2536</guid>
      <dc:creator>AlexGunko</dc:creator>
      <dc:date>2015-02-02T13:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Query layer fails even when MSSQLServer succeeds</title>
      <link>https://community.esri.com/t5/data-management-questions/query-layer-fails-even-when-mssqlserver-succeeds/m-p/45142#M2537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having the same issue with my query layers.&amp;nbsp; SQL query has no issue finding the appropriate data.&amp;nbsp; AM struggled to return the query properly.&amp;nbsp; Fix has been inconsistent.&amp;nbsp; First was to return only a selection of records:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;select TOP 10000 * from (select * from&lt;BR /&gt;JRS_Farm_Fields.dbo.LL_GVF_CropDetail_Model_Boundary&amp;nbsp; where Year = '2015')&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;a order by Est_Harvest_Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;then we resorted to &lt;SPAN style="font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;select * from&lt;BR /&gt;JRS_Farm_Fields.dbo.LL_GVF_CropDetail_Model_Boundary&amp;nbsp; where Year = '2015'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; mso-bidi-font-family: 'Times New Roman'; font-size: 11pt; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: 'Calibri',sans-serif; mso-fareast-font-family: Calibri;"&gt;We are using SQL Server 2012 and AGS 10.3.&amp;nbsp; We have found that although our DT is 10.3 - on our 10.2 server - this is not an issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 22:42:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/query-layer-fails-even-when-mssqlserver-succeeds/m-p/45142#M2537</guid>
      <dc:creator>BobWheeler</dc:creator>
      <dc:date>2015-02-10T22:42:49Z</dc:date>
    </item>
  </channel>
</rss>

