<?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: Difference between implicit and explicit in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Difference-between-implicit-and-explicit/m-p/747679#M234723</link>
    <description>&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Implicit&lt;/U&gt;&lt;/STRONG&gt;:&amp;nbsp; You code in &lt;STRONG&gt;SAS&lt;/STRONG&gt; syntax, SAS formats a query for you in the database's syntax and passes that query to the database.&amp;nbsp; Some processing will be done within the database but SAS could also do some processing of the results set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Explicit&lt;/STRONG&gt;&lt;/U&gt;:&amp;nbsp; You code in the &lt;STRONG&gt;database&lt;/STRONG&gt;'s syntax.&amp;nbsp; SAS passes the query directly to the database for execution &lt;EM&gt;without&lt;/EM&gt; modification.&amp;nbsp; There is 100% execution of the query within the database (unless you code something in addition to what is passed to the database).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jun 2021 04:31:43 GMT</pubDate>
    <dc:creator>jimbarbour</dc:creator>
    <dc:date>2021-06-14T04:31:43Z</dc:date>
    <item>
      <title>Difference between implicit and explicit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Difference-between-implicit-and-explicit/m-p/747675#M234720</link>
      <description>Hi any one can differentiate points wise between libname statement and pass thru query</description>
      <pubDate>Mon, 14 Jun 2021 04:25:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Difference-between-implicit-and-explicit/m-p/747675#M234720</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2021-06-14T04:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between implicit and explicit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Difference-between-implicit-and-explicit/m-p/747679#M234723</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Implicit&lt;/U&gt;&lt;/STRONG&gt;:&amp;nbsp; You code in &lt;STRONG&gt;SAS&lt;/STRONG&gt; syntax, SAS formats a query for you in the database's syntax and passes that query to the database.&amp;nbsp; Some processing will be done within the database but SAS could also do some processing of the results set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Explicit&lt;/STRONG&gt;&lt;/U&gt;:&amp;nbsp; You code in the &lt;STRONG&gt;database&lt;/STRONG&gt;'s syntax.&amp;nbsp; SAS passes the query directly to the database for execution &lt;EM&gt;without&lt;/EM&gt; modification.&amp;nbsp; There is 100% execution of the query within the database (unless you code something in addition to what is passed to the database).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 04:31:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Difference-between-implicit-and-explicit/m-p/747679#M234723</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-06-14T04:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between implicit and explicit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Difference-between-implicit-and-explicit/m-p/747710#M234737</link>
      <description>&lt;P&gt;That's a badly worded question.&lt;/P&gt;
&lt;P&gt;Libnames can be used for explicit and for implicit SQL. Explicit simply means that SAS does not translate the SQL to native database SQL. Instead the SQL is explicitly supplied by the user.&lt;/P&gt;
&lt;P&gt;Consider:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;libname ORA oracle connections parameters ...;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;proc sql;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;&amp;nbsp; connect using ORA;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp; select * from connection to ORA&lt;/FONT&gt; (&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;&amp;nbsp; &amp;nbsp; select COL1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;, listagg(COL2, ', ') within group (order by COL2) "names"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;&amp;nbsp; &amp;nbsp; from TABLE1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;&amp;nbsp; &amp;nbsp; group by COL1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; )&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp; order by put(COL1,myfmt.)&lt;/FONT&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Here the SAS code is in blue and the Oracle code in red.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could have SAS code only (though of course there would only be SAS syntax then).&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;libname ORA oracle connections parameters ...;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;proc sql;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;&amp;nbsp; select ...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;&amp;nbsp; from ORA.TABLE1 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;&amp;nbsp; group by ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;&amp;nbsp; order by put(COL1,myfmt.);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 07:54:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Difference-between-implicit-and-explicit/m-p/747710#M234737</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-06-14T07:54:31Z</dc:date>
    </item>
  </channel>
</rss>

