<?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: Complex code conversion - Oracle SQL to SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308825#M66333</link>
    <description>&lt;P&gt;My guess is this is a custom user-written stored function or procedure in Oracle:&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;sf_getphonebytype&lt;/STRONG&gt;. Talk to your Oracle DBA. He may know who wrote it or what it does or possibly be able to provide the source code.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2016 18:52:08 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2016-11-02T18:52:08Z</dc:date>
    <item>
      <title>Complex code conversion - Oracle SQL to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308808#M66325</link>
      <description>&lt;P&gt;Hi all. &amp;nbsp;I have a long code in Oracle SQL that was given to me. &amp;nbsp;Unfortunately, there are a few&amp;nbsp;things I haven't been able to figure out to get the code to run in SAS.&amp;nbsp;(Some I have, and a few things I haven't worked on yet, like the phone and fax number part) &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that (+) is a left outer join in the code; I just can't figure out how to convert what the code is looking for into SAS. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Using EG 6.1 and Base SAS 9.4 32 bit)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated. &amp;nbsp;I've tried a few things but haven't been successful in getting it worked out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;BR /&gt;CREATE TABLE DOCTORS&lt;BR /&gt;AS&lt;BR /&gt;select distinct p.id AS PRAC_ID&lt;BR /&gt;,p.fname&lt;BR /&gt;,p.lname&lt;BR /&gt;,p.mname&lt;BR /&gt;,p.salutation AS SUFFIX&lt;BR /&gt;,p.degree&lt;BR /&gt;,p.dob AS DOB&lt;BR /&gt;,p.email&lt;BR /&gt;,p.sex AS GENDER&lt;BR /&gt;,p.ssn&lt;BR /&gt;,case when par.id = . then 'Non Par'&lt;BR /&gt;else 'Par' end AS COMMERCIAL_PAR_STATUS&lt;BR /&gt;,case when par1.prac_id = . then 'Non Par'&lt;BR /&gt;else 'Par' end AS HNJH_PAR_STATUS&lt;BR /&gt;,npi.number_uda AS PRACTITIONER_NPI&lt;BR /&gt;,pps.primary AS PRIMARY_SPEC_INDICATOR&lt;BR /&gt;,ps.ds AS PRACTITIONER_SPEC&lt;BR /&gt;,pp.name AS GROUP_NAME&lt;BR /&gt;,tin.tin AS GROUP_TAX_ID&lt;BR /&gt;/*, replace (tin.tin, '-') "GROUP TAX-ID NO DASHES" */&lt;BR /&gt;,pp.sub_prov_code AS GROUP_SUFFIX&lt;BR /&gt;,ptype.type_ds AS GROUP_TYPE&lt;BR /&gt;,ps1.ds AS GROUP_SPEC&lt;BR /&gt;,pl.primary AS PRIMARY_LOCATION&lt;BR /&gt;,v.addr1 AS SL_ADDRESS_LINE_1&lt;BR /&gt;,v.addr2 AS SL_ADDRESS_LINE_2&lt;BR /&gt;,v.city_name AS SL_CITY_NAME&lt;BR /&gt;,v.county_name AS SL_COUNTY_NAME&lt;BR /&gt;,v.state_id AS SL_STATE_ID&lt;BR /&gt;,v.zip AS SL_ZIP_CODE&lt;BR /&gt;/*, substr(sf_getphonebytype(ptl.address_id,'FAX','-'),1,14) AS SL_FAX_NUMBER */&lt;BR /&gt;/*, substr(sf_getphonebytype(ptl.address_id,'DIR_PHONE','-'),1,14) AS SL_PHONE_NUMBER */&lt;BR /&gt;&lt;BR /&gt;from PNO.pp_prac p&lt;BR /&gt;,PNO.pp_prov pp&lt;BR /&gt;,PNO.pp_prov_tin_prov_cycle ptpc&lt;BR /&gt;,PNO.pp_prov_tin tin&lt;BR /&gt;,PNO.pp_prov_specialty provspec&lt;BR /&gt;,PNO.pp_prov_type ptype&lt;BR /&gt;,PNO.pp_prac_loc pl&lt;BR /&gt;,PNO.pp_prov_loc ppl&lt;BR /&gt;,PNO.pp_prov_tin_loc ptl&lt;BR /&gt;,PNO.v_fmg_addresses v&lt;BR /&gt;,PNO.v_fmg_addresses v1&lt;BR /&gt;,PNO.pp_prac_specialty pps&lt;BR /&gt;,PNO.pp_spec ps&lt;BR /&gt;,PNO.pp_spec ps1&lt;BR /&gt;,(select prac_id, number_uda&lt;BR /&gt;from PNO.v_uda_prac_npi&lt;BR /&gt;where term_uda GE today()&lt;BR /&gt;union&lt;BR /&gt;select prac_id, number_uda&lt;BR /&gt;from PNO.v_uda_prac_npi&lt;BR /&gt;where term_uda is null ) npi&lt;BR /&gt;,(select prov_id,&lt;BR /&gt;number_uda&lt;BR /&gt;from PNO.v_uda_prov_npi&lt;BR /&gt;where term_uda GE today ()&lt;BR /&gt;union&lt;BR /&gt;select prov_id,&lt;BR /&gt;number_uda&lt;BR /&gt;from PNO.v_uda_prov_npi&lt;BR /&gt;where term_uda is null) GROUPnpi&lt;BR /&gt;,(select p.id,&lt;BR /&gt;pnc.start_date,&lt;BR /&gt;pnc.end_date&lt;BR /&gt;from PNO.pp_prac_net_cycle pnc,&lt;BR /&gt;PNO.pp_prac p,&lt;BR /&gt;PNO.pp_net pn&lt;BR /&gt;where p.id = pnc.prac_id&lt;BR /&gt;and pnc.net_id = pn.id&lt;BR /&gt;and pn.ds in&lt;BR /&gt;('insured','notinsured')&lt;BR /&gt;and pnc.end_date GE today()) par&lt;BR /&gt;,(select pnlc.loc_id,&lt;BR /&gt;pnlc.prac_id,&lt;BR /&gt;pnlc.prov_id,&lt;BR /&gt;pncs.specialty_id&lt;BR /&gt;from PNO.pp_prac_net_cycle pnc,&lt;BR /&gt;PNO.pp_prac p,&lt;BR /&gt;PNO.pp_net pn,&lt;BR /&gt;PNO.pp_prac_net_loc_cycle pnlc,&lt;BR /&gt;PNO.pp_prac_net_cycle_spec pncs&lt;BR /&gt;where p.id = pnc.prac_id&lt;BR /&gt;and pnc.net_id = pn.id&lt;BR /&gt;and pn.ds in ('notinsured')&lt;BR /&gt;and pnc.end_date GE today()&lt;BR /&gt;and pnc.prac_id = pnlc.prac_id&lt;BR /&gt;and pnc.id = pnlc.prac_net_cycle_id&lt;BR /&gt;and pnlc.end_date GE today()&lt;BR /&gt;and pncs.prac_net_cycle_id = pnc.id) par1&lt;BR /&gt;where p.id = pl.prac_id&lt;BR /&gt;and pl.start_date LT today()&lt;BR /&gt;and pl.end_date GE today()&lt;BR /&gt;and pl.loc_id = ppl.loc_id&lt;BR /&gt;and pl.prov_id = ppl.prov_id&lt;BR /&gt;and ppl.prov_id = pp.id&lt;BR /&gt;and tin.id = ptpc.tin_id&lt;BR /&gt;and pp.id = ptpc.prov_id&lt;BR /&gt;and ptpc.end_date GE today()&lt;BR /&gt;and pp.id = provspec.prov_id&lt;BR /&gt;and provspec.primary = 'Y'&lt;BR /&gt;and pp.prov_type_id = ptype.id&lt;BR /&gt;and ppl.loc_id = ptl.id&lt;BR /&gt;and ptl.address_id = v.address_id&lt;BR /&gt;and p.id = pps.prac_id&lt;BR /&gt;and pps.specialty_id = ps.id&lt;BR /&gt;and pps.primary like 'Y'&lt;BR /&gt;and provspec.specialty_id = ps1.id&lt;BR /&gt;and pp.address_id = v1.address_id&lt;BR /&gt;and pl.prac_id = par1.prac_id (+)&lt;BR /&gt;and pl.prov_id = par1.prov_id(+)&lt;BR /&gt;and pl.loc_id = par1.loc_id (+)&lt;/P&gt;&lt;P&gt;and p.id = par.id (+)&lt;BR /&gt;and p.id = npi.prac_id (+)&lt;BR /&gt;and pp.id = groupnpi.prov_id (+);&lt;BR /&gt;QUIT;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 17:49:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308808#M66325</guid>
      <dc:creator>TajisDawn</dc:creator>
      <dc:date>2016-11-02T17:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Complex code conversion - Oracle SQL to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308821#M66330</link>
      <description>&lt;P&gt;What error message are you getting?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 18:40:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308821#M66330</guid>
      <dc:creator>GreggB</dc:creator>
      <dc:date>2016-11-02T18:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Complex code conversion - Oracle SQL to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308823#M66332</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13712"&gt;@GreggB&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;What error message are you getting?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi!&amp;nbsp; I'm getting 2 error messages:&amp;nbsp; "syntax error", and "symbol not recognized".&amp;nbsp; Both are related to the (+) being underlined with red. Then PROC SQL sets to NOEXEC.&amp;nbsp; If I comment out those lines, the program runs fine but I don't get all the data I need.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 18:49:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308823#M66332</guid>
      <dc:creator>TajisDawn</dc:creator>
      <dc:date>2016-11-02T18:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Complex code conversion - Oracle SQL to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308825#M66333</link>
      <description>&lt;P&gt;My guess is this is a custom user-written stored function or procedure in Oracle:&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;sf_getphonebytype&lt;/STRONG&gt;. Talk to your Oracle DBA. He may know who wrote it or what it does or possibly be able to provide the source code.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 18:52:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308825#M66333</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-11-02T18:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Complex code conversion - Oracle SQL to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308827#M66334</link>
      <description>&lt;P&gt;(+) only works in Oracle - it's not standard SQL. Try LEFT JOIN instead.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 18:55:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308827#M66334</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-11-02T18:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Complex code conversion - Oracle SQL to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308830#M66335</link>
      <description>&lt;P&gt;I''m not that familar with Oracle. In SAS a left outer join looks like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC SQL;&lt;/P&gt;
&lt;P&gt;SELECT *&lt;/P&gt;
&lt;P&gt;FROM FIRST LEFT JOIN SECOND&lt;/P&gt;
&lt;P&gt;ON FIRST.X = SECOND.X;&lt;/P&gt;
&lt;P&gt;QUIT;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 18:58:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308830#M66335</guid>
      <dc:creator>GreggB</dc:creator>
      <dc:date>2016-11-02T18:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Complex code conversion - Oracle SQL to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308836#M66337</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;My guess is this is a custom user-written stored function or procedure in Oracle:&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;sf_getphonebytype&lt;/STRONG&gt;. Talk to your Oracle DBA. He may know who wrote it or what it does or possibly be able to provide the source code.&lt;/SPAN&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks! &amp;nbsp;I hadn't thought about it being a user-written function. &amp;nbsp;It's very likely. &amp;nbsp;I was going to just use substr, actually, because the columns for fax vs primary telephone are in the table, he's just pulling them to format with dashes (which I don't really want).&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 19:03:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308836#M66337</guid>
      <dc:creator>TajisDawn</dc:creator>
      <dc:date>2016-11-02T19:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Complex code conversion - Oracle SQL to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308840#M66338</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13712"&gt;@GreggB&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;I''m not that familar with Oracle. In SAS a left outer join looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;FROM FIRST LEFT JOIN SECOND&lt;/P&gt;&lt;P&gt;ON FIRST.X = SECOND.X;&lt;/P&gt;&lt;P&gt;QUIT;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I know how to use left joins normally, but since these are deep in a "where" statement and involves creating a lot of substatements (with one table alias the result of multiple joins), I'm a bit more baffled. &amp;nbsp;I'm not very good yet at nested substatements.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 19:07:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308840#M66338</guid>
      <dc:creator>TajisDawn</dc:creator>
      <dc:date>2016-11-02T19:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Complex code conversion - Oracle SQL to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308853#M66341</link>
      <description>&lt;P&gt;I suggest you split out the PAR1 sub-query and get this working first - it &amp;nbsp;is this sub-query that needs the LEFT JOIN:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;left join&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(select pnlc.loc_id,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pnlc.prac_id,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pnlc.prov_id,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pncs.specialty_id&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from PNO.pp_prac_net_cycle pnc,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PNO.pp_prac p,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PNO.pp_net pn,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PNO.pp_prac_net_loc_cycle pnlc,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PNO.pp_prac_net_cycle_spec pncs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where p.id = pnc.prac_id&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and pnc.net_id = pn.id&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and pn.ds in ('notinsured')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and pnc.end_date GE today()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and pnc.prac_id = pnlc.prac_id&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and pnc.id = pnlc.prac_net_cycle_id&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and pnlc.end_date GE today()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and pncs.prac_net_cycle_id = pnc.id&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;)&amp;nbsp;&lt;/SPAN&gt;as par1&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;on&amp;nbsp;pl.prac_id = par1.prac_id&lt;BR /&gt;&lt;SPAN&gt;and pl.prov_id = par1.prov_id&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and pl.loc_id = par1.loc_id&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 19:28:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308853#M66341</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-11-02T19:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Complex code conversion - Oracle SQL to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308877#M66350</link>
      <description>&lt;P&gt;If you already have the oracle SQL code to run you can use the same code to run from sas using explicit SQL pass-through.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;sql&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;connect&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;to&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; oracle (user=myusr1 password=mypwd1);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;select&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; *&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;from&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; connection to oracle&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;( your Oracle code here);&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;disconnect&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;from&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; oracle;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 20:50:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/308877#M66350</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2016-11-02T20:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Complex code conversion - Oracle SQL to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/309699#M66725</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks! &amp;nbsp;I do have access to the Oracle database, so I'll give that a try.Since it will take some tweaking, I'll have to let you know after my deadlines if it worked.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 12:17:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Complex-code-conversion-Oracle-SQL-to-SAS/m-p/309699#M66725</guid>
      <dc:creator>TajisDawn</dc:creator>
      <dc:date>2016-11-07T12:17:07Z</dc:date>
    </item>
  </channel>
</rss>

