<?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: How can I view all column names from a tera data table in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-can-I-view-all-column-names-from-a-tera-data-table/m-p/568760#M160179</link>
    <description>&lt;P&gt;To achieve the outcome you requested on my own system, I created a libref for the Teradata database connection and then executed a 'PROC CONTENTS' datastep:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME Tera TERADATA AUTHDOMAIN="TeradataAuth" TDPID=APROD MODE=Teradata;

PROC CONTENTS DATA=Tera.Hello; RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is what I mocked up from the information provided in your post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2019 13:43:54 GMT</pubDate>
    <dc:creator>tsap</dc:creator>
    <dc:date>2019-06-25T13:43:54Z</dc:date>
    <item>
      <title>How can I view all column names from a tera data table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-I-view-all-column-names-from-a-tera-data-table/m-p/566512#M159225</link>
      <description>&lt;P&gt;Im trying to select 1 row from teradata just to view the column names. The problem is I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;connect to teradata as tera (authdomain="TeradataAuth" tdpid=aprod mode=Teradata);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;create table work.test as&lt;BR /&gt;select * from connection to tera (&lt;BR /&gt;select top 1 *&lt;BR /&gt;from tera_table.hello&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;disconnect from tera;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i achieve my purpose?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 09:00:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-I-view-all-column-names-from-a-tera-data-table/m-p/566512#M159225</guid>
      <dc:creator>Jeg123</dc:creator>
      <dc:date>2019-06-17T09:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I view all column names from a tera data table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-I-view-all-column-names-from-a-tera-data-table/m-p/566513#M159226</link>
      <description>&lt;P&gt;Try the DBC tables:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://teradata.iexpertify.com/2011/09/dbc-tables-or-system-tables-on-teradata.html" target="_blank"&gt;http://teradata.iexpertify.com/2011/09/dbc-tables-or-system-tables-on-teradata.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 09:13:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-I-view-all-column-names-from-a-tera-data-table/m-p/566513#M159226</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2019-06-17T09:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can I view all column names from a tera data table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-I-view-all-column-names-from-a-tera-data-table/m-p/568760#M160179</link>
      <description>&lt;P&gt;To achieve the outcome you requested on my own system, I created a libref for the Teradata database connection and then executed a 'PROC CONTENTS' datastep:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME Tera TERADATA AUTHDOMAIN="TeradataAuth" TDPID=APROD MODE=Teradata;

PROC CONTENTS DATA=Tera.Hello; RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is what I mocked up from the information provided in your post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 13:43:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-I-view-all-column-names-from-a-tera-data-table/m-p/568760#M160179</guid>
      <dc:creator>tsap</dc:creator>
      <dc:date>2019-06-25T13:43:54Z</dc:date>
    </item>
  </channel>
</rss>

