<?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: LENGTH  Function  not supported in Explicit Sql Passthrough  for SAS/ACCESS  Interface  to Terad in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/335994#M9915</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;&amp;nbsp; I&amp;nbsp; did&amp;nbsp; check&amp;nbsp; the&amp;nbsp;&amp;nbsp; teradata&amp;nbsp; version&amp;nbsp; using the&amp;nbsp; query :&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;select&amp;nbsp; *&amp;nbsp; from dbc.dbcinfo &lt;/STRONG&gt;and it&amp;nbsp; gives me the below&amp;nbsp; version&amp;nbsp; as i mentioned&amp;nbsp; in my post&amp;nbsp; above :&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7466i849492687CC8284E/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capture2.PNG" title="Capture2.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Obviously&amp;nbsp; your&amp;nbsp; Version&amp;nbsp; is different than mine&amp;nbsp; by Release and Version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your&amp;nbsp;&amp;nbsp; suggestion&amp;nbsp; of&amp;nbsp; using&amp;nbsp; the CAST&amp;nbsp; function &amp;nbsp; surrounding the LENGTH function&amp;nbsp; Works&amp;nbsp;&amp;nbsp; but&amp;nbsp; I&amp;nbsp; still&amp;nbsp; do not understand&amp;nbsp; why&amp;nbsp; this has to be used at all.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also &amp;nbsp;if &amp;nbsp;i &amp;nbsp; run the &amp;nbsp;Query &amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Select &amp;nbsp;LENGTH('SAMPLE') &amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;in &amp;nbsp; Teradata Sql Assistant (Version : 15.10.1.3) &amp;nbsp;it &amp;nbsp;works fine. &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;But &amp;nbsp;I &amp;nbsp;do &amp;nbsp; see &amp;nbsp;difference in the Result &amp;nbsp;depending on &amp;nbsp;how i am connecting to &amp;nbsp;Teradata &amp;nbsp;via &amp;nbsp;Sql Assistant . &amp;nbsp; If &amp;nbsp;i &amp;nbsp;use &amp;nbsp;an &amp;nbsp;ODBC &amp;nbsp;Data &amp;nbsp;Source to &amp;nbsp;connect &amp;nbsp;to &amp;nbsp;Teradata &amp;nbsp;via the Sql &amp;nbsp;Assistant &amp;nbsp;the &amp;nbsp;query &amp;nbsp;returns &amp;nbsp;a value &amp;nbsp;of &amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;6.00 &amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;but if &amp;nbsp;i &amp;nbsp;use the &amp;nbsp;.NET &amp;nbsp;Provider &amp;nbsp;for Teradata &amp;nbsp;to connect to &lt;/SPAN&gt;&lt;SPAN&gt;T&lt;/SPAN&gt;&lt;SPAN&gt;eradata &amp;nbsp;via the &amp;nbsp;Sql Assistant &amp;nbsp;i get a Result &amp;nbsp;of &amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;6 &amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;ie &amp;nbsp;no decimal places.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 26 Feb 2017 16:52:24 GMT</pubDate>
    <dc:creator>pchegoor</dc:creator>
    <dc:date>2017-02-26T16:52:24Z</dc:date>
    <item>
      <title>LENGTH  Function  not supported in Explicit Sql Passthrough  for SAS/ACCESS  Interface  to Teradata</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/335989#M9913</link>
      <description>&lt;P&gt;I&amp;nbsp; am curious&amp;nbsp; to know&amp;nbsp; why the LENGTH&amp;nbsp; function&amp;nbsp; is not supported in an&amp;nbsp; Explcit Sql Passthrough&amp;nbsp;&amp;nbsp; for SAS/ACESS&amp;nbsp; Interface to Teradata.&amp;nbsp;&amp;nbsp; I am using&amp;nbsp; SAS&amp;nbsp; 9.4M3&amp;nbsp; on AIX -64&amp;nbsp; with&amp;nbsp; Teradata Client version&amp;nbsp; 15.10 ,&amp;nbsp; Teradata&amp;nbsp; Datbase version 15.10.02.08.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For eg.&amp;nbsp; the below Query ends up in an&amp;nbsp; Error :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc sql;
    connect to teradata(user="test" password="test123" server="T_DEV");

    select  *  from connection to teradata
	(
     select  LENGTH('SAMPLE') as LEN

	);
   Disconnect from Teradata;

Quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The&amp;nbsp; Error in the SAS Log&amp;nbsp; is :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;ERROR: At least one of the columns in this DBMS table has a datatype that is not supported by this engine.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;But&amp;nbsp; using&amp;nbsp; CHAR_LENGTH&amp;nbsp;&amp;nbsp; or CHARACTER_LENGTH&amp;nbsp; function&amp;nbsp; in the above&amp;nbsp;&amp;nbsp; works&amp;nbsp; fine.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc sql;
    connect to teradata(user="test" password="test123" server="T_DEV");

    select  *  from connection to teradata
	(
     select  CHAR_LENGTH('SAMPLE')  as LEN

	);
   Disconnect from Teradata;

Quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;The Output&amp;nbsp; from the above Code&amp;nbsp; is&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7465i3F9633E3B1BC9F22/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capture1.PNG" title="Capture1.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp; i understand&amp;nbsp; it&amp;nbsp; ,&amp;nbsp; prior&amp;nbsp; to Teradata version 14.0&amp;nbsp; LENGTH&amp;nbsp; &lt;STRONG&gt;was not a valid&lt;/STRONG&gt;&amp;nbsp; Teradata Sql function but&amp;nbsp; CHAR_LENTH&amp;nbsp; / CHARACTER_LENGTH&amp;nbsp; was a valid&amp;nbsp; Function.&amp;nbsp; However starting with&amp;nbsp; Teradata 14.0&amp;nbsp; LENGTH&amp;nbsp; is an Inbuilt&amp;nbsp; Function (&amp;nbsp; Embedded Services System Function)&amp;nbsp;&amp;nbsp; and so&amp;nbsp; are Functions LTRIM &amp;nbsp; and RTRIM.&amp;nbsp; I&amp;nbsp; can &lt;STRONG&gt;sucessfully&lt;/STRONG&gt; use LTRIM&amp;nbsp; and RTRIM&amp;nbsp; in Explciti&amp;nbsp; Sql Pass through. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So&amp;nbsp; why does the LENGTH&amp;nbsp; function&amp;nbsp; cause an Error?&amp;nbsp;&amp;nbsp; Any Reason?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 16:24:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/335989#M9913</guid>
      <dc:creator>pchegoor</dc:creator>
      <dc:date>2017-02-26T16:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: LENGTH  Function  not supported in Explicit Sql Passthrough  for SAS/ACCESS  Interface  to Terad</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/335991#M9914</link>
      <description>&lt;P&gt;The error message is complaining about the vairable type. So why not add a CAST() function to set the type?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;select  cast(LENGTH('SAMPLE') as integer) as LEN
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But really it sounds like a question you should ask your Teradata administrator.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps your Database is not running version 15. &amp;nbsp;Just because you are using the version 15 driver doesn't mean the database is running version 15. &amp;nbsp;Use this query to find the version.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;select * from dbc.dbcinfo;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The LENGTH() function works on my database that is running this version:&lt;/P&gt;
&lt;PRE&gt;	InfoKey	InfoData
1	RELEASE	15.00.05.10
2	VERSION	15.00.05.10
3	LANGUAGE SUPPORT MODE	Standard
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 16:08:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/335991#M9914</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-02-26T16:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: LENGTH  Function  not supported in Explicit Sql Passthrough  for SAS/ACCESS  Interface  to Terad</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/335994#M9915</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;&amp;nbsp; I&amp;nbsp; did&amp;nbsp; check&amp;nbsp; the&amp;nbsp;&amp;nbsp; teradata&amp;nbsp; version&amp;nbsp; using the&amp;nbsp; query :&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;select&amp;nbsp; *&amp;nbsp; from dbc.dbcinfo &lt;/STRONG&gt;and it&amp;nbsp; gives me the below&amp;nbsp; version&amp;nbsp; as i mentioned&amp;nbsp; in my post&amp;nbsp; above :&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7466i849492687CC8284E/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capture2.PNG" title="Capture2.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Obviously&amp;nbsp; your&amp;nbsp; Version&amp;nbsp; is different than mine&amp;nbsp; by Release and Version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your&amp;nbsp;&amp;nbsp; suggestion&amp;nbsp; of&amp;nbsp; using&amp;nbsp; the CAST&amp;nbsp; function &amp;nbsp; surrounding the LENGTH function&amp;nbsp; Works&amp;nbsp;&amp;nbsp; but&amp;nbsp; I&amp;nbsp; still&amp;nbsp; do not understand&amp;nbsp; why&amp;nbsp; this has to be used at all.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also &amp;nbsp;if &amp;nbsp;i &amp;nbsp; run the &amp;nbsp;Query &amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Select &amp;nbsp;LENGTH('SAMPLE') &amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;in &amp;nbsp; Teradata Sql Assistant (Version : 15.10.1.3) &amp;nbsp;it &amp;nbsp;works fine. &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;But &amp;nbsp;I &amp;nbsp;do &amp;nbsp; see &amp;nbsp;difference in the Result &amp;nbsp;depending on &amp;nbsp;how i am connecting to &amp;nbsp;Teradata &amp;nbsp;via &amp;nbsp;Sql Assistant . &amp;nbsp; If &amp;nbsp;i &amp;nbsp;use &amp;nbsp;an &amp;nbsp;ODBC &amp;nbsp;Data &amp;nbsp;Source to &amp;nbsp;connect &amp;nbsp;to &amp;nbsp;Teradata &amp;nbsp;via the Sql &amp;nbsp;Assistant &amp;nbsp;the &amp;nbsp;query &amp;nbsp;returns &amp;nbsp;a value &amp;nbsp;of &amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;6.00 &amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;but if &amp;nbsp;i &amp;nbsp;use the &amp;nbsp;.NET &amp;nbsp;Provider &amp;nbsp;for Teradata &amp;nbsp;to connect to &lt;/SPAN&gt;&lt;SPAN&gt;T&lt;/SPAN&gt;&lt;SPAN&gt;eradata &amp;nbsp;via the &amp;nbsp;Sql Assistant &amp;nbsp;i get a Result &amp;nbsp;of &amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;6 &amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;ie &amp;nbsp;no decimal places.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 16:52:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/335994#M9915</guid>
      <dc:creator>pchegoor</dc:creator>
      <dc:date>2017-02-26T16:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: LENGTH  Function  not supported in Explicit Sql Passthrough  for SAS/ACCESS  Interface  to Terad</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/335995#M9916</link>
      <description>&lt;P&gt;I am not sure how to find the definition of the LENGTH() and CHAR_LENGTH() functions. Googling for Teradata syntax is worse than for SAS syntax. &amp;nbsp;But I did make a table using both and found that result of &amp;nbsp;LENGTH() is defined as type NUMBER and of CHAR_LENGTH() it is defined as type INTEGER. &amp;nbsp;It must be that SAS cannot directly translate the NUMBER data type. Why it doesn't just translate it to FLOAT like it does for most data types I am not sure.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 16:53:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/335995#M9916</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-02-26T16:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: LENGTH  Function  not supported in Explicit Sql Passthrough  for SAS/ACCESS  Interface  to Terad</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/336000#M9917</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;wrote already the SAS/Access engine seems to not like a data type of NUMBER.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NUMBER is also not listed as one of the supported data types (like the error message tells you). I couldn't find an explanation why NUMBER isn't supported.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Supported numeric data types are:&lt;/P&gt;
&lt;DIV id="n1wqr88n19z37on132lni3q1cd9y" class="xis-paraSimpleFirst"&gt;Numeric data:&lt;/DIV&gt;
&lt;DIV class="xis-listColumnar"&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;BYTEINT&lt;/TD&gt;
&lt;TD&gt;INTEGER&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;DECIMAL(&lt;SPAN class="xis-userSuppliedValue"&gt;n,m&lt;/SPAN&gt;)&lt;/TD&gt;
&lt;TD&gt;SMALLINT&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;FLOAT | REAL | DOUBLE PRECISION&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/69580/HTML/default/viewer.htm#n0v7nh4ylrihtin1te8xl0q3dvzv.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/acreldb/69580/HTML/default/viewer.htm#n0v7nh4ylrihtin1te8xl0q3dvzv.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 26 Feb 2017 18:28:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/336000#M9917</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-02-26T18:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: LENGTH  Function  not supported in Explicit Sql Passthrough  for SAS/ACCESS  Interface  to Terad</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/336002#M9918</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp; &amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp; &amp;nbsp; Thanks you for your valuable Insights &amp;nbsp;into this Issue and &amp;nbsp;I &amp;nbsp;guess you &amp;nbsp;both &amp;nbsp;are &amp;nbsp;right &amp;nbsp;as i see no other reason &amp;nbsp;for this Error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp; &amp;nbsp; , &amp;nbsp;you mentioned &amp;nbsp;that &amp;nbsp;with &amp;nbsp;your version &amp;nbsp;of &amp;nbsp;Teradata &amp;nbsp;Database , &amp;nbsp;LENGTH &amp;nbsp;function &amp;nbsp;is working. &amp;nbsp;Does that mean &amp;nbsp;it &amp;nbsp;works &amp;nbsp;without the CAST &amp;nbsp;function in the &amp;nbsp;SAS Explicit &amp;nbsp;Sql &amp;nbsp;Pass through &amp;nbsp;and &amp;nbsp;if this is True &amp;nbsp;would mean that the &amp;nbsp;Teradata Engine is able to &amp;nbsp;Translate the NUMBER &amp;nbsp;type to &amp;nbsp;probably &amp;nbsp;INTEGER with &amp;nbsp;your &amp;nbsp;Version &amp;nbsp;of &amp;nbsp;Teradata &amp;nbsp;Database &amp;nbsp;and also &amp;nbsp;Teradata &amp;nbsp;Client/Driver version?&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 18:36:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/336002#M9918</guid>
      <dc:creator>pchegoor</dc:creator>
      <dc:date>2017-02-26T18:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: LENGTH  Function  not supported in Explicit Sql Passthrough  for SAS/ACCESS  Interface  to Terad</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/336003#M9919</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/14002"&gt;@pchegoor&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Now Googling with the right keywords and I found the official SAS explanation why NUMBER isn't supported.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/59/004.html" target="_blank"&gt;http://support.sas.com/kb/59/004.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 18:40:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/336003#M9919</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-02-26T18:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: LENGTH  Function  not supported in Explicit Sql Passthrough  for SAS/ACCESS  Interface  to Terad</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/336004#M9920</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp; Thanks for the SAS Support link above .Does make sense now.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 18:43:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/LENGTH-Function-not-supported-in-Explicit-Sql-Passthrough-for/m-p/336004#M9920</guid>
      <dc:creator>pchegoor</dc:creator>
      <dc:date>2017-02-26T18:43:16Z</dc:date>
    </item>
  </channel>
</rss>

