<?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 Connection to odbc sql server time out error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Connection-to-odbc-sql-server-time-out-error/m-p/18981#M2899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!!&amp;nbsp; I will try to tell him that.&amp;nbsp; I tried execute some simple commande on other tables and it worked fine.&amp;nbsp; Must just be the problem with that table.&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Sep 2011 22:53:30 GMT</pubDate>
    <dc:creator>devon59</dc:creator>
    <dc:date>2011-09-28T22:53:30Z</dc:date>
    <item>
      <title>Connection to odbc sql server time out error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connection-to-odbc-sql-server-time-out-error/m-p/18976#M2894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt; I am trying to run a simple statement in SAS on the data that I have &lt;/P&gt;&lt;P&gt; connected to sql server using this line of code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIBNAME qb ODBC&amp;nbsp; DSN='quick' schema=da; &lt;/P&gt;&lt;P&gt;I have no problem connecting.&amp;nbsp; However, when I just tried to run a &lt;BR /&gt; simple &lt;/P&gt;&lt;P&gt;data temp;set qb.client;keep ID adddate;run; &lt;/P&gt;&lt;P&gt;I kept getting this error message. &lt;/P&gt;&lt;P&gt;/**********************************************/ &lt;BR /&gt; WARNING: During read: [Microsoft][ODBC SQL Server Driver]String data, &lt;BR /&gt; right truncation &lt;BR /&gt; ERROR: CLI cursor fetch error: [Microsoft][ODBC SQL Server Driver][SQL &lt;BR /&gt; Server]Could not continue &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scan with NOLOCK due to data movement. &lt;/P&gt;&lt;P&gt;What does it mean and how can I fix it? &lt;/P&gt;&lt;P&gt;Any help would be greatly appreaciated. &lt;/P&gt;&lt;P&gt; Thank you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 20:29:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connection-to-odbc-sql-server-time-out-error/m-p/18976#M2894</guid>
      <dc:creator>devon59</dc:creator>
      <dc:date>2011-09-28T20:29:02Z</dc:date>
    </item>
    <item>
      <title>Connection to odbc sql server time out error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connection-to-odbc-sql-server-time-out-error/m-p/18977#M2895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a pretty bad SQL server error message usually caused I believe by highly fragmented tables and or indexes. If you have one consult with your SQL sever DBA. Also queries using nolock are usually not desirable.&amp;nbsp; Is this SQL server utilized as a warehouse for data? Is it denormalized?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 22:01:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connection-to-odbc-sql-server-time-out-error/m-p/18977#M2895</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-09-28T22:01:56Z</dc:date>
    </item>
    <item>
      <title>Connection to odbc sql server time out error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connection-to-odbc-sql-server-time-out-error/m-p/18978#M2896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new to this data so I don't know exactly how SQL server DBA maintain the database.&amp;nbsp; What type of thing should I tell/recommend him to do?&amp;nbsp; He doesn't know SAS so I think he might blame it on SAS.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thank you so much for your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 22:24:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connection-to-odbc-sql-server-time-out-error/m-p/18978#M2896</guid>
      <dc:creator>devon59</dc:creator>
      <dc:date>2011-09-28T22:24:33Z</dc:date>
    </item>
    <item>
      <title>Connection to odbc sql server time out error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connection-to-odbc-sql-server-time-out-error/m-p/18979#M2897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have him confirm that the issue is not within the sql server database itself, as SAS is reporting it is.&amp;nbsp; Have him check the table and indexes for fragmentation.&amp;nbsp; Give him the information from your log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: During read: [Microsoft][ODBC SQL Server Driver]String data, &lt;/P&gt;&lt;P&gt;right truncation &lt;/P&gt;&lt;P&gt;ERROR: CLI cursor fetch error: [Microsoft][ODBC SQL Server Driver][SQL &lt;/P&gt;&lt;P&gt;Server]Could not continue &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scan with NOLOCK due to data movement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You query: data temp;set qb.client;keep ID adddate;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is equivalant to select id, adddate from client;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check that NOLOCK should be part of this query, if not check whether this is set by database or odbc bridge or possibly SAS (but I don't think it would be).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get more information about the query's execution from sas use the sastrace option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 22:29:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connection-to-odbc-sql-server-time-out-error/m-p/18979#M2897</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-09-28T22:29:22Z</dc:date>
    </item>
    <item>
      <title>Connection to odbc sql server time out error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connection-to-odbc-sql-server-time-out-error/m-p/18980#M2898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Possibly the following will be of help: &lt;A href="http://support.sas.com/kb/30/741.html"&gt;http://support.sas.com/kb/30/741.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 22:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connection-to-odbc-sql-server-time-out-error/m-p/18980#M2898</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-09-28T22:37:25Z</dc:date>
    </item>
    <item>
      <title>Connection to odbc sql server time out error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connection-to-odbc-sql-server-time-out-error/m-p/18981#M2899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!!&amp;nbsp; I will try to tell him that.&amp;nbsp; I tried execute some simple commande on other tables and it worked fine.&amp;nbsp; Must just be the problem with that table.&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 22:53:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connection-to-odbc-sql-server-time-out-error/m-p/18981#M2899</guid>
      <dc:creator>devon59</dc:creator>
      <dc:date>2011-09-28T22:53:30Z</dc:date>
    </item>
  </channel>
</rss>

