<?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: Not able to use oracle function in SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Not-able-to-use-oracle-function-in-SAS/m-p/553572#M153958</link>
    <description>&lt;P&gt;The key to this is "oracle function in SAS".&lt;/P&gt;
&lt;P&gt;No software fully support another vendors software. If you you are using SAS, use SAS functions.&lt;/P&gt;
&lt;P&gt;To use Oracle functions, use Oracle. From SAS this can be done using SQL explicit pass through.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2019 11:02:45 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2019-04-24T11:02:45Z</dc:date>
    <item>
      <title>Not able to use oracle function in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Not-able-to-use-oracle-function-in-SAS/m-p/553562#M153955</link>
      <description>&lt;P&gt;Dear SASian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to incorporate below query in SAS but I am getting syntax error due to oracle functions (get_xml) am using , can any one please guide how to overcome this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table record_3033 as
select owner, table_name, 
to_number(extractvalue(xmltype(dbms_xmlgen.getxml('select /*+ parallel('||table_name||',10) */   count(*) c from '||owner||'.'||table_name||' where '||owner||'.'||table_name||'.glb_oe_id = 777')),'/ROWSET/ROW/C'))
AS COUNT
  from db.all_tables
  where owner = 'DWHDWH' and table_name in (select distinct dwh_tbl_nm from db.etl_cntrl_tbl ) order by table_name;
  quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Apr 2019 09:17:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Not-able-to-use-oracle-function-in-SAS/m-p/553562#M153955</guid>
      <dc:creator>arunrami</dc:creator>
      <dc:date>2019-04-24T09:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to use oracle function in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Not-able-to-use-oracle-function-in-SAS/m-p/553572#M153958</link>
      <description>&lt;P&gt;The key to this is "oracle function in SAS".&lt;/P&gt;
&lt;P&gt;No software fully support another vendors software. If you you are using SAS, use SAS functions.&lt;/P&gt;
&lt;P&gt;To use Oracle functions, use Oracle. From SAS this can be done using SQL explicit pass through.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 11:02:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Not-able-to-use-oracle-function-in-SAS/m-p/553572#M153958</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2019-04-24T11:02:45Z</dc:date>
    </item>
  </channel>
</rss>

