<?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: Connect to DB in SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Connect-to-DB-in-SAS/m-p/720666#M223261</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/327170"&gt;@Aexor&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;How to connect to DB is SAS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Can we use SAS function while connecting to DB?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you have one of the SAS/Access modules licensed.&amp;nbsp; You can either define a libref or use the CONNECT statement in PROC SQL.&amp;nbsp; SAS works fine when connected to an external database.&amp;nbsp; But if you are using implicit access to query the remote database then if SAS cannot figure our how to translate your code into syntax for the remote database then SAS will pull the data over to SAS and then apply the function.&amp;nbsp; If you use PROC SQL to issue commands directly in the remote database then you will need to use the syntax of that remote database in those statements.&lt;/P&gt;</description>
    <pubDate>Sat, 20 Feb 2021 19:41:03 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2021-02-20T19:41:03Z</dc:date>
    <item>
      <title>Connect to DB in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connect-to-DB-in-SAS/m-p/720662#M223257</link>
      <description>&lt;P&gt;How to connect to DB is SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;Can we use SAS function while connecting to DB?&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2021 19:24:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connect-to-DB-in-SAS/m-p/720662#M223257</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2021-02-20T19:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to DB in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connect-to-DB-in-SAS/m-p/720666#M223261</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/327170"&gt;@Aexor&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;How to connect to DB is SAS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Can we use SAS function while connecting to DB?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you have one of the SAS/Access modules licensed.&amp;nbsp; You can either define a libref or use the CONNECT statement in PROC SQL.&amp;nbsp; SAS works fine when connected to an external database.&amp;nbsp; But if you are using implicit access to query the remote database then if SAS cannot figure our how to translate your code into syntax for the remote database then SAS will pull the data over to SAS and then apply the function.&amp;nbsp; If you use PROC SQL to issue commands directly in the remote database then you will need to use the syntax of that remote database in those statements.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2021 19:41:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connect-to-DB-in-SAS/m-p/720666#M223261</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-02-20T19:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to DB in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connect-to-DB-in-SAS/m-p/721276#M223539</link>
      <description>Can we use PUT, INPUT or any other SAS functions while connecting to DB ?</description>
      <pubDate>Tue, 23 Feb 2021 14:46:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connect-to-DB-in-SAS/m-p/721276#M223539</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2021-02-23T14:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to DB in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connect-to-DB-in-SAS/m-p/721288#M223546</link>
      <description>&lt;P&gt;You cannot use SAS functions in the remote database.&amp;nbsp; As to whether SAS can transform statements that use those two or other SAS functions into the remote database it depends on what products you have licensed from SAS and how you are using them.&amp;nbsp; SAS/Access does have a way to translate many functions.&amp;nbsp; I think there is actually a metadata table somewhere with which functions SAS knows how to translate.&amp;nbsp; And for SAS/Access to Teradata there is (or at least used to be) a way to push the PUT() and INPUT() functions and format/informat definitions into Teradata.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 15:06:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connect-to-DB-in-SAS/m-p/721288#M223546</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-02-23T15:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to DB in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connect-to-DB-in-SAS/m-p/721738#M223732</link>
      <description>Thank you!!</description>
      <pubDate>Thu, 25 Feb 2021 02:15:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connect-to-DB-in-SAS/m-p/721738#M223732</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2021-02-25T02:15:15Z</dc:date>
    </item>
  </channel>
</rss>

