<?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 How To call functions from oracle database in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-To-call-functions-from-oracle-database/m-p/61182#M6193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Kindly any one help me how to call user defined functions from oracle database i tried in all ways but i am not finding the way&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it&amp;nbsp; possible we can call oracle functions with out keeping values in&amp;nbsp; table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2011 05:27:39 GMT</pubDate>
    <dc:creator>RameshReddy</dc:creator>
    <dc:date>2011-09-07T05:27:39Z</dc:date>
    <item>
      <title>How To call functions from oracle database</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-To-call-functions-from-oracle-database/m-p/61182#M6193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Kindly any one help me how to call user defined functions from oracle database i tried in all ways but i am not finding the way&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it&amp;nbsp; possible we can call oracle functions with out keeping values in&amp;nbsp; table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 05:27:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-To-call-functions-from-oracle-database/m-p/61182#M6193</guid>
      <dc:creator>RameshReddy</dc:creator>
      <dc:date>2011-09-07T05:27:39Z</dc:date>
    </item>
    <item>
      <title>How To call functions from oracle database</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-To-call-functions-from-oracle-database/m-p/61183#M6194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably, these functions are primarily available to you in SQL pass-thru mode.&lt;/P&gt;&lt;P&gt;This means that your data you need to use the function on, has to be available in the Oracle session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are you intend to do? If your Oracle function does not have an SAS equivalent, maybe you can try to write a corresponding in SAS using PROC FCMP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Linus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 08:21:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-To-call-functions-from-oracle-database/m-p/61183#M6194</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2011-09-07T08:21:16Z</dc:date>
    </item>
    <item>
      <title>How To call functions from oracle database</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-To-call-functions-from-oracle-database/m-p/61184#M6195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your aswer linush,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not clear from your answer..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am again reconfirm my question .there is one function created in oracle when it execute it wil return&amp;nbsp; some value &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my question is how will execute&amp;nbsp; this function and how we can get that value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 09:13:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-To-call-functions-from-oracle-database/m-p/61184#M6195</guid>
      <dc:creator>RameshReddy</dc:creator>
      <dc:date>2011-09-07T09:13:36Z</dc:date>
    </item>
    <item>
      <title>How To call functions from oracle database</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-To-call-functions-from-oracle-database/m-p/61185#M6196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll take that your data is in SAS, and you want the result in SAS.&lt;/P&gt;&lt;P&gt;Not knowing your situation in detail, I assume that you need to upload your data to Oracle (temporary or permanent table), use SQL pass-thru to apply your function to the data. The data could be returned to SAS in the same query using the construct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from connections to oracle(your qury goes here...);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A good starting point are these examples, before you dig in the documentation:&lt;/P&gt;&lt;P&gt;﻿﻿&lt;A href="http://support.sas.com/kb/41/616.html"&gt;http://support.sas.com/kb/41/616.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Linus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 07:31:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-To-call-functions-from-oracle-database/m-p/61185#M6196</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2011-09-08T07:31:27Z</dc:date>
    </item>
    <item>
      <title>How To call functions from oracle database</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-To-call-functions-from-oracle-database/m-p/61186#M6197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am wondering if what you call an "Oracle function" is more commonly called an Oracle stored procedure. If this is the case then this may be helpful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/18/350.html"&gt;http://support.sas.com/kb/18/350.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are talking about an Oracle user-built function, then it would be helpful to know how you call it in Oracle's PL/SQL, including the parameters required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example the COALESCE function is common to many flavours of SQL and you just call it in a SELECT statement: SELECT COALESCE(col1, col2) FROM table.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 23:55:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-To-call-functions-from-oracle-database/m-p/61186#M6197</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2011-09-08T23:55:06Z</dc:date>
    </item>
    <item>
      <title>How To call functions from oracle database</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-To-call-functions-from-oracle-database/m-p/61187#M6198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp; assume you are using oracle with sas. &lt;/P&gt;&lt;P&gt;1. In oracle if you want to call a function without a table.&lt;/P&gt;&lt;P&gt;you can do this in oralce by &lt;/P&gt;&lt;P&gt;" select&amp;nbsp; function() from dual;"&amp;nbsp; &lt;/P&gt;&lt;P&gt;This query is valid in oracle&amp;nbsp; and not in sas. hence you need to use sql - passthrough, i mean inside the select * from connection&amp;nbsp; to oracle ( your oracle query here).&lt;/P&gt;&lt;P&gt;Use dual "in oracle" when you need to query but not from any datasource/table.&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;select 5*5 from dual;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 19:25:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-To-call-functions-from-oracle-database/m-p/61187#M6198</guid>
      <dc:creator>jonam</dc:creator>
      <dc:date>2011-09-09T19:25:55Z</dc:date>
    </item>
  </channel>
</rss>

