<?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: reduce number of connection  for taking counts of a teradata tables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/reduce-number-of-connection-for-taking-counts-of-a-teradata/m-p/290865#M270034</link>
    <description>&lt;P&gt;You need to create one sql query that can give you count of all 700 tables in one shot. It seem that you are counting the rows one table then next table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be nice if you share the&amp;nbsp;query that you are sending to the database for getting the count.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2016 03:40:25 GMT</pubDate>
    <dc:creator>RahulG</dc:creator>
    <dc:date>2016-08-11T03:40:25Z</dc:date>
    <item>
      <title>reduce number of connection  for taking counts of a teradata tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reduce-number-of-connection-for-taking-counts-of-a-teradata/m-p/290864#M270033</link>
      <description>&lt;P&gt;Hi SAS users,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am taking counts of about 700 Teradata&amp;nbsp;&amp;nbsp;tables , I have a macro to connect to teradata and get counts and put them in sas datasets respectively.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but my macro connects to teradata 700 time to teradata.&lt;/P&gt;
&lt;P&gt;How can I reduce number of teradata connections?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;your advice is helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 03:32:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reduce-number-of-connection-for-taking-counts-of-a-teradata/m-p/290864#M270033</guid>
      <dc:creator>nbonda</dc:creator>
      <dc:date>2016-08-11T03:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: reduce number of connection  for taking counts of a teradata tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reduce-number-of-connection-for-taking-counts-of-a-teradata/m-p/290865#M270034</link>
      <description>&lt;P&gt;You need to create one sql query that can give you count of all 700 tables in one shot. It seem that you are counting the rows one table then next table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be nice if you share the&amp;nbsp;query that you are sending to the database for getting the count.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 03:40:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reduce-number-of-connection-for-taking-counts-of-a-teradata/m-p/290865#M270034</guid>
      <dc:creator>RahulG</dc:creator>
      <dc:date>2016-08-11T03:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: reduce number of connection  for taking counts of a teradata tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reduce-number-of-connection-for-taking-counts-of-a-teradata/m-p/290899#M270035</link>
      <description>&lt;P&gt;Teradata must have a dictionary.tables or similar. Extract the counts/names from there in one pass, and then you can subset by name on the SAS side if needed.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 07:38:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reduce-number-of-connection-for-taking-counts-of-a-teradata/m-p/290899#M270035</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-08-11T07:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: reduce number of connection  for taking counts of a teradata tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reduce-number-of-connection-for-taking-counts-of-a-teradata/m-p/290913#M270036</link>
      <description>&lt;P&gt;Just make sure that you don't disconnect/connect between each loop in your macro.&lt;/P&gt;
&lt;P&gt;Or is there a catch?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 08:21:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reduce-number-of-connection-for-taking-counts-of-a-teradata/m-p/290913#M270036</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-08-11T08:21:01Z</dc:date>
    </item>
  </channel>
</rss>

