<?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: can't understand why ERROR: At least one of the columns in this DBMS table has a datatype that i in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/can-t-understand-why-ERROR-At-least-one-of-the-columns-in-this/m-p/722321#M223953</link>
    <description>&lt;P&gt;2 comments:&lt;BR /&gt;1. You can cast the other variables in turn to see which one causes the message. Or remove them from the query to perform the same test.&lt;BR /&gt;2. I am unsure SAS can read &lt;EM&gt;decimal&lt;/EM&gt; variables. Why not an integer instead?&lt;/P&gt;</description>
    <pubDate>Sat, 27 Feb 2021 07:13:28 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2021-02-27T07:13:28Z</dc:date>
    <item>
      <title>can't understand why ERROR: At least one of the columns in this DBMS table has a datatype that is no</title>
      <link>https://communities.sas.com/t5/SAS-Programming/can-t-understand-why-ERROR-At-least-one-of-the-columns-in-this/m-p/722175#M223890</link>
      <description>&lt;P&gt;Hi I am receiving error:&amp;nbsp;&lt;STRONG&gt;ERROR: At least one of the columns in this DBMS table has a datatype that is not supported by this&amp;nbsp;engine&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am connecting to teradata here is the query below.&amp;nbsp; None of the attributes are bigint or anything they are char and int types.&amp;nbsp; I have cast the count(*) and I still receive the error&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;select * from connection to eabc(
select  hist_ky_add
		,cast(count(*)as int) as countuniq
from (select cast(cust_id as decimal(15,0)) as cust_id_test
	,cust_id 
	,cust_id_type 
	,cell_ky
	,rank(cust_id || cust_id_type || cast(cell_ky as varchar(16))asc)as hist_ky_add
from &amp;amp;crnttblname) a
group by 1
having count(*) &amp;gt; 1
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Can you see what is wrong?&amp;nbsp; Any suggestions?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 15:23:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/can-t-understand-why-ERROR-At-least-one-of-the-columns-in-this/m-p/722175#M223890</guid>
      <dc:creator>Gayle</dc:creator>
      <dc:date>2021-02-26T15:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: can't understand why ERROR: At least one of the columns in this DBMS table has a datatype that i</title>
      <link>https://communities.sas.com/t5/SAS-Programming/can-t-understand-why-ERROR-At-least-one-of-the-columns-in-this/m-p/722321#M223953</link>
      <description>&lt;P&gt;2 comments:&lt;BR /&gt;1. You can cast the other variables in turn to see which one causes the message. Or remove them from the query to perform the same test.&lt;BR /&gt;2. I am unsure SAS can read &lt;EM&gt;decimal&lt;/EM&gt; variables. Why not an integer instead?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2021 07:13:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/can-t-understand-why-ERROR-At-least-one-of-the-columns-in-this/m-p/722321#M223953</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-02-27T07:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: can't understand why ERROR: At least one of the columns in this DBMS table has a datatype that i</title>
      <link>https://communities.sas.com/t5/SAS-Programming/can-t-understand-why-ERROR-At-least-one-of-the-columns-in-this/m-p/723358#M224451</link>
      <description>thank you I had cast all of the variables before and gotten the same error , I may try that again. However, i did use this option:&lt;BR /&gt;OPTIONS SET=TRUNCATE_BIGINT YES ; and that got rid of the error</description>
      <pubDate>Thu, 04 Mar 2021 04:53:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/can-t-understand-why-ERROR-At-least-one-of-the-columns-in-this/m-p/723358#M224451</guid>
      <dc:creator>Gayle</dc:creator>
      <dc:date>2021-03-04T04:53:10Z</dc:date>
    </item>
  </channel>
</rss>

