<?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 do I find Greenplum indexed columns with SAS? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/How-do-I-find-Greenplum-indexed-columns-with-SAS/m-p/315602#M9026</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/40390"&gt;@waterfall﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could there be a problem with the schema and tablename? Are you sure that table exists?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works for me...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;libname gplum greenplm server='greenplum.somecompany.com'
                                        database=indb
                                        schema=myuser
                                        user=myuser password=password;
 
data work.testdata;
   do i = 1 to 100;
      x='aaaaaaaaaaaaaaaaaaaaaaaaaaaaa';
      y='bbbbbbbbbbbbbbbbbbbbbbbbbbbbb';
      z='ccccccccccccccccccccccccccccc';
      output;
   end;
run;
 
proc append base=gplum.testdata data=work.testdata;
run;
 
proc sql;
   connect using gplum;
   select * from connection to gplum
      (Greenplum::SQLStatistics "", "myuser","testdata");
quit;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2016 16:51:22 GMT</pubDate>
    <dc:creator>JBailey</dc:creator>
    <dc:date>2016-11-30T16:51:22Z</dc:date>
    <item>
      <title>How do I find Greenplum indexed columns with SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-do-I-find-Greenplum-indexed-columns-with-SAS/m-p/314943#M9012</link>
      <description>&lt;P&gt;I'm trying some pass-through code without success.&amp;nbsp;&amp;nbsp;I was able to find Oracle indexes with pass-through code,&amp;nbsp;but perhaps I should not assume this is also possible with Greenplum.&amp;nbsp;&amp;nbsp;The log below shows what I tried:&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;1378 proc sql;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;1379&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;1380 connect to greenplm (user=xxxxx password=XXXXXXXXXXX dsn=gpdl_prd);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;1381&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;1382 select * from connection to greenplm&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;1383 (Greenplum::SQLStatistics "","wcdl_pharm","NET_PAID_VW");&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;NOTE: No rows were selected.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;1384 disconnect from greenplm;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;1385 quit;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;real time 0.27 seconds&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;cpu time 0.06 seconds&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 20:22:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-do-I-find-Greenplum-indexed-columns-with-SAS/m-p/314943#M9012</guid>
      <dc:creator>waterfall</dc:creator>
      <dc:date>2016-11-28T20:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find Greenplum indexed columns with SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-do-I-find-Greenplum-indexed-columns-with-SAS/m-p/315602#M9026</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/40390"&gt;@waterfall﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could there be a problem with the schema and tablename? Are you sure that table exists?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works for me...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;libname gplum greenplm server='greenplum.somecompany.com'
                                        database=indb
                                        schema=myuser
                                        user=myuser password=password;
 
data work.testdata;
   do i = 1 to 100;
      x='aaaaaaaaaaaaaaaaaaaaaaaaaaaaa';
      y='bbbbbbbbbbbbbbbbbbbbbbbbbbbbb';
      z='ccccccccccccccccccccccccccccc';
      output;
   end;
run;
 
proc append base=gplum.testdata data=work.testdata;
run;
 
proc sql;
   connect using gplum;
   select * from connection to gplum
      (Greenplum::SQLStatistics "", "myuser","testdata");
quit;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 16:51:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-do-I-find-Greenplum-indexed-columns-with-SAS/m-p/315602#M9026</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2016-11-30T16:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find Greenplum indexed columns with SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-do-I-find-Greenplum-indexed-columns-with-SAS/m-p/316120#M9049</link>
      <description>I just want to stress that anything that is specified within a connection to block is database specific, you will probably be better off asking this at a Greenplum forum.</description>
      <pubDate>Fri, 02 Dec 2016 00:05:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-do-I-find-Greenplum-indexed-columns-with-SAS/m-p/316120#M9049</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-12-02T00:05:36Z</dc:date>
    </item>
  </channel>
</rss>

