<?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 Duplicate LIMIT clauses in SAS/Access for Netezza v9.4 in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Duplicate-LIMIT-clauses-in-SAS-Access-for-Netezza-v9-4/m-p/306061#M6365</link>
    <description>&lt;P&gt;Gurus,&lt;/P&gt;&lt;P&gt;We are migrating our SAS server and upgrading from 9.3 to 9.4. We use SAS/Access for Netezza and when we create LIBNAMES for our Netezza data and try to drag and drop and open a Netezza dataset we get an error on the SQL run in Netezza. The SQL has TWO LIMIT clauses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAS Enterprise Guide cannot open the data file: "Libref.tablename"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Error} CLI open cursor error: ERROR: 'SELECT * FROM DB.schema.tablename LIMIT 500 limit 500' error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^ found "LIMIT" (at char44) expecting a keyword&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We do ask our users to set the Maximum number of rows to display in the data grid to 500. (Tools -&amp;gt; Options -&amp;gt; Data -&amp;gt; Performance).&lt;/P&gt;&lt;P&gt;When this option is changed (to 100), both LIMIT clauses change. When we change it to 0, we don't get the error -- but most of our netezza tables are much too large to NOT have a limit clause! We ask our users not to open the data sets, but... users will be users!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current libname statement:&lt;/P&gt;&lt;P&gt;libname netezza server=&amp;amp;nzSERVER. database=&amp;amp;nzDATABASE. schema=&amp;amp;nzSCHEMA. user=&amp;amp;msUSERID. password=&amp;amp;msPASSWORD. connection=globalread defer=yes;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there another setting? Something I can add to the libname?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Query Builder works fine.&lt;/P&gt;&lt;P&gt;Screen prints of settings and errors are attached&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas are GREATLY appreciated!&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2016 19:41:11 GMT</pubDate>
    <dc:creator>bzenk</dc:creator>
    <dc:date>2016-10-20T19:41:11Z</dc:date>
    <item>
      <title>Duplicate LIMIT clauses in SAS/Access for Netezza v9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Duplicate-LIMIT-clauses-in-SAS-Access-for-Netezza-v9-4/m-p/306061#M6365</link>
      <description>&lt;P&gt;Gurus,&lt;/P&gt;&lt;P&gt;We are migrating our SAS server and upgrading from 9.3 to 9.4. We use SAS/Access for Netezza and when we create LIBNAMES for our Netezza data and try to drag and drop and open a Netezza dataset we get an error on the SQL run in Netezza. The SQL has TWO LIMIT clauses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAS Enterprise Guide cannot open the data file: "Libref.tablename"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Error} CLI open cursor error: ERROR: 'SELECT * FROM DB.schema.tablename LIMIT 500 limit 500' error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^ found "LIMIT" (at char44) expecting a keyword&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We do ask our users to set the Maximum number of rows to display in the data grid to 500. (Tools -&amp;gt; Options -&amp;gt; Data -&amp;gt; Performance).&lt;/P&gt;&lt;P&gt;When this option is changed (to 100), both LIMIT clauses change. When we change it to 0, we don't get the error -- but most of our netezza tables are much too large to NOT have a limit clause! We ask our users not to open the data sets, but... users will be users!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current libname statement:&lt;/P&gt;&lt;P&gt;libname netezza server=&amp;amp;nzSERVER. database=&amp;amp;nzDATABASE. schema=&amp;amp;nzSCHEMA. user=&amp;amp;msUSERID. password=&amp;amp;msPASSWORD. connection=globalread defer=yes;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there another setting? Something I can add to the libname?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Query Builder works fine.&lt;/P&gt;&lt;P&gt;Screen prints of settings and errors are attached&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas are GREATLY appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 19:41:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Duplicate-LIMIT-clauses-in-SAS-Access-for-Netezza-v9-4/m-p/306061#M6365</guid>
      <dc:creator>bzenk</dc:creator>
      <dc:date>2016-10-20T19:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate LIMIT clauses in SAS/Access for Netezza v9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Duplicate-LIMIT-clauses-in-SAS-Access-for-Netezza-v9-4/m-p/306354#M6368</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;did that work before and just now started throwing this error -&amp;nbsp;after you migrated to SAS 9.4?&lt;/P&gt;
&lt;P&gt;What EG version are you running?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Anja&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 16:20:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Duplicate-LIMIT-clauses-in-SAS-Access-for-Netezza-v9-4/m-p/306354#M6368</guid>
      <dc:creator>anja</dc:creator>
      <dc:date>2016-10-21T16:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate LIMIT clauses in SAS/Access for Netezza v9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Duplicate-LIMIT-clauses-in-SAS-Access-for-Netezza-v9-4/m-p/306392#M6371</link>
      <description>&lt;P&gt;Thanks for the reply Anja!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes. It worked in 9.3. It started failing when we migrated to 9.4.&lt;/P&gt;&lt;P&gt;We also upgraded our users from EG v5.1. They are now on&amp;nbsp;6.1 or 7.1 -- it is failing on both. (Probably should have mentioned that!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;~Belinda&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 17:36:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Duplicate-LIMIT-clauses-in-SAS-Access-for-Netezza-v9-4/m-p/306392#M6371</guid>
      <dc:creator>bzenk</dc:creator>
      <dc:date>2016-10-21T17:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate LIMIT clauses in SAS/Access for Netezza v9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Duplicate-LIMIT-clauses-in-SAS-Access-for-Netezza-v9-4/m-p/306399#M6372</link>
      <description>&lt;P&gt;Anja,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI: I just opened my old v5.1 EG and connected to the new v9.4 SAS server. When I opened a table, It failed with the duplicate LIMIT clause...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, again!&lt;/P&gt;&lt;P&gt;~Belinda&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 17:46:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Duplicate-LIMIT-clauses-in-SAS-Access-for-Netezza-v9-4/m-p/306399#M6372</guid>
      <dc:creator>bzenk</dc:creator>
      <dc:date>2016-10-21T17:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate LIMIT clauses in SAS/Access for Netezza v9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Duplicate-LIMIT-clauses-in-SAS-Access-for-Netezza-v9-4/m-p/306401#M6373</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;maybe its best to address this with Tech Sup to get it resolved as soon as possible?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Anja&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 18:04:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Duplicate-LIMIT-clauses-in-SAS-Access-for-Netezza-v9-4/m-p/306401#M6373</guid>
      <dc:creator>anja</dc:creator>
      <dc:date>2016-10-21T18:04:59Z</dc:date>
    </item>
  </channel>
</rss>

