<?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 an ERROR in log while taking count from Teradata DBMS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/an-ERROR-in-log-while-taking-count-from-Teradata-DBMS/m-p/267882#M52972</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I am getting below error while using SQL pass-through,&amp;nbsp;but does not throw error &amp;nbsp;if I use Implicit LIBNAME method.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: &lt;SPAN class="lia-search-match-lithium"&gt;At&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;least&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;one&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;of&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;the&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;columns&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;in&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;this&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;DBMS&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;table&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;has&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;a&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;datatype&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;that&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;is&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;not&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;supported&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;by&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;this&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;engine&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-search-match-lithium"&gt;code:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;sql&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;connect&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;to&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; teradata &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;as&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; tera_&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;(user=TEST_USER pass=Test_pa$$ mode=teradata schema=TESTDB server=dbserver );&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;create&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;table&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; d_count &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;as&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;select&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; * &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;from&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; connection to tera_&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; (&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;select&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; count(*) &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;as&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; count_rows &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;from&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; TESTDB.SAMPLE_TABLE &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;) ;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;quit&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;there are no special columns in Teradata table,below is the definition of the same table:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;CREATE MULTISET TABLE dbase.TEST_NEWFILETINVLSTAT_TEST ,NO FALLBACK ,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO BEFORE JOURNAL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO AFTER JOURNAL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHECKSUM = DEFAULT,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEFAULT MERGEBLOCKRATIO&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID_1 INTEGER NOT NULL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DOC_INVALID_STATUS VARCHAR(20) CHARACTER SET LATIN CASESPECIFIC NOT NULL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE_DATE DATE FORMAT 'YYYY-MM-DD' NOT NULL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROCESS_DATE DATE FORMAT 'YYYY-MM-DD' NOT NULL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RUNDATE DATE FORMAT 'YYYY-MM-DD' NOT NULL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNI_ID DECIMAL(13,0) NOT NULL)&lt;BR /&gt;PRIMARY INDEX ( ID_1 ,DOC_INVALID_STATUS );&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;Any help is appreciated:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;Thank you&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 03 May 2016 11:45:18 GMT</pubDate>
    <dc:creator>nbonda</dc:creator>
    <dc:date>2016-05-03T11:45:18Z</dc:date>
    <item>
      <title>an ERROR in log while taking count from Teradata DBMS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/an-ERROR-in-log-while-taking-count-from-Teradata-DBMS/m-p/267882#M52972</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I am getting below error while using SQL pass-through,&amp;nbsp;but does not throw error &amp;nbsp;if I use Implicit LIBNAME method.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: &lt;SPAN class="lia-search-match-lithium"&gt;At&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;least&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;one&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;of&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;the&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;columns&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;in&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;this&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;DBMS&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;table&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;has&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;a&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;datatype&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;that&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;is&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;not&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;supported&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;by&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;this&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;engine&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-search-match-lithium"&gt;code:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;sql&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;connect&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;to&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; teradata &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;as&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; tera_&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;(user=TEST_USER pass=Test_pa$$ mode=teradata schema=TESTDB server=dbserver );&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;create&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;table&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; d_count &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;as&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;select&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; * &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;from&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; connection to tera_&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; (&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;select&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; count(*) &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;as&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; count_rows &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;from&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; TESTDB.SAMPLE_TABLE &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;) ;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;quit&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;there are no special columns in Teradata table,below is the definition of the same table:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;CREATE MULTISET TABLE dbase.TEST_NEWFILETINVLSTAT_TEST ,NO FALLBACK ,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO BEFORE JOURNAL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO AFTER JOURNAL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHECKSUM = DEFAULT,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEFAULT MERGEBLOCKRATIO&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID_1 INTEGER NOT NULL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DOC_INVALID_STATUS VARCHAR(20) CHARACTER SET LATIN CASESPECIFIC NOT NULL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE_DATE DATE FORMAT 'YYYY-MM-DD' NOT NULL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROCESS_DATE DATE FORMAT 'YYYY-MM-DD' NOT NULL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RUNDATE DATE FORMAT 'YYYY-MM-DD' NOT NULL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNI_ID DECIMAL(13,0) NOT NULL)&lt;BR /&gt;PRIMARY INDEX ( ID_1 ,DOC_INVALID_STATUS );&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;Any help is appreciated:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;Thank you&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 11:45:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/an-ERROR-in-log-while-taking-count-from-Teradata-DBMS/m-p/267882#M52972</guid>
      <dc:creator>nbonda</dc:creator>
      <dc:date>2016-05-03T11:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: an ERROR in log while taking count from Teradata DBMS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/an-ERROR-in-log-while-taking-count-from-Teradata-DBMS/m-p/267897#M52979</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess it has something to do with the data type BIGINT, the&amp;nbsp;&lt;FONT face="Courier New" size="3"&gt;count(*) &lt;/FONT&gt;&lt;FONT face="Courier New" color="#0000ff" size="3"&gt;&lt;FONT face="Courier New" color="#0000ff" size="3"&gt;&lt;FONT face="Courier New" color="#0000ff" size="3"&gt;as&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; count_rows&lt;/FONT&gt;&lt;/FONT&gt; probably returns a BIGINT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So Check out this SAS Note &lt;A href="http://support.sas.com/kb/39/831.html" target="_blank"&gt;http://support.sas.com/kb/39/831.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 12:26:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/an-ERROR-in-log-while-taking-count-from-Teradata-DBMS/m-p/267897#M52979</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2016-05-03T12:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: an ERROR in log while taking count from Teradata DBMS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/an-ERROR-in-log-while-taking-count-from-Teradata-DBMS/m-p/268331#M53108</link>
      <description>&lt;P&gt;thank you for your reply.&lt;/P&gt;
&lt;P&gt;When I cast to decimal its working fine. But I have issue with the query only for some environment, same query (without casting)&amp;nbsp;working in other envrironments. we have oberved that recently teradata client has been upgraded to Version 15. this client upgrade causing count(*) to convert it into BIGINT datatype.&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 16:42:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/an-ERROR-in-log-while-taking-count-from-Teradata-DBMS/m-p/268331#M53108</guid>
      <dc:creator>nbonda</dc:creator>
      <dc:date>2016-05-04T16:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: an ERROR in log while taking count from Teradata DBMS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/an-ERROR-in-log-while-taking-count-from-Teradata-DBMS/m-p/268958#M53277</link>
      <description>&lt;P&gt;Here is the solution for my question. In Teradata 15.1 the default datatype for count(*) is BIGINT , where as Teradata 15.0 this datatype is INT. so we got this problem when I we connect the Teradata 15.1.&lt;/P&gt;</description>
      <pubDate>Sat, 07 May 2016 00:58:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/an-ERROR-in-log-while-taking-count-from-Teradata-DBMS/m-p/268958#M53277</guid>
      <dc:creator>nbonda</dc:creator>
      <dc:date>2016-05-07T00:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: an ERROR in log while taking count from Teradata DBMS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/an-ERROR-in-log-while-taking-count-from-Teradata-DBMS/m-p/268961#M53278</link>
      <description>&lt;P&gt;So Teradata fixed one problem (count(*) overflowing) and introduced a new one (non-standard&amp;nbsp;data type).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Things haven't chnaged much in the computer industry in the last 35 years. &amp;nbsp;My first job out of college I was implementing PCOs (program change orders). &amp;nbsp;Most of them were to fix issues caused by earlier PCOs.&lt;/P&gt;</description>
      <pubDate>Sat, 07 May 2016 02:34:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/an-ERROR-in-log-while-taking-count-from-Teradata-DBMS/m-p/268961#M53278</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2016-05-07T02:34:09Z</dc:date>
    </item>
  </channel>
</rss>

