<?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: SAS Connect to Oracle, is there an implied commit? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Connect-to-Oracle-is-there-an-implied-commit/m-p/620110#M182167</link>
    <description>&lt;P&gt;Not 100% familiar, but&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;'s response here:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Oracle-commit-for-two-or-more-sql-statements/td-p/452773" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/Oracle-commit-for-two-or-more-sql-statements/td-p/452773&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;might help.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2020 04:50:15 GMT</pubDate>
    <dc:creator>unison</dc:creator>
    <dc:date>2020-01-27T04:50:15Z</dc:date>
    <item>
      <title>SAS Connect to Oracle, is there an implied commit?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Connect-to-Oracle-is-there-an-implied-commit/m-p/620109#M182166</link>
      <description>&lt;P&gt;I have some code that is working , but I wonder why I don't need an explicit commit statement (which would be required in Oracle)&lt;/P&gt;&lt;P&gt;e.g&lt;/P&gt;&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames" style="color: navy; font-weight: bold; box-sizing: inherit; line-height: 1.2;"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="token procnames" style="color: navy; font-weight: bold; box-sizing: inherit; line-height: 1.2;"&gt;sql&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999; box-sizing: inherit; line-height: 1.2;"&gt;;&lt;/SPAN&gt;
connect to oracle &lt;SPAN class="token punctuation" style="color: #999999; box-sizing: inherit; line-height: 1.2;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token procnames" style="color: navy; font-weight: bold; box-sizing: inherit; line-height: 1.2;"&gt;server&lt;/SPAN&gt;&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;=&lt;/SPAN&gt;myserver user&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;=&lt;/SPAN&gt;myuserid pw&lt;SPAN class="token operator" style="color: #a67f59; box-sizing: inherit; line-height: 1.2;"&gt;=&lt;/SPAN&gt;mypass &lt;SPAN class="token punctuation" style="color: #999999; box-sizing: inherit; line-height: 1.2;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999; box-sizing: inherit; line-height: 1.2;"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token keyword" style="color: blue; background: #ffffff; box-sizing: inherit; line-height: 1.2;"&gt;  execute&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999; box-sizing: inherit; line-height: 1.2;"&gt;(&lt;BR /&gt;  insert into myuserid.mytable &lt;BR /&gt;  (mycol)&lt;BR /&gt;  select '1' as mycol from dual&lt;BR /&gt;  )&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999; box-sizing: inherit; line-height: 1.2;"&gt;  )&lt;/SPAN&gt; &lt;SPAN class="token statement" style="color: blue; box-sizing: inherit; line-height: 1.2;"&gt;by&lt;/SPAN&gt; oracle&lt;SPAN class="token punctuation" style="color: #999999; box-sizing: inherit; line-height: 1.2;"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="token procnames" style="color: navy; font-weight: bold; box-sizing: inherit; line-height: 1.2;"&gt;quit&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999; box-sizing: inherit; line-height: 1.2;"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;This code inserts the data into the correct table without an explicit commit .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why do I not need a commit? is this controlled by an option somewhere ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 04:46:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Connect-to-Oracle-is-there-an-implied-commit/m-p/620109#M182166</guid>
      <dc:creator>fdsaaaa</dc:creator>
      <dc:date>2020-01-27T04:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Connect to Oracle, is there an implied commit?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Connect-to-Oracle-is-there-an-implied-commit/m-p/620110#M182167</link>
      <description>&lt;P&gt;Not 100% familiar, but&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;'s response here:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Oracle-commit-for-two-or-more-sql-statements/td-p/452773" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/Oracle-commit-for-two-or-more-sql-statements/td-p/452773&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;might help.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 04:50:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Connect-to-Oracle-is-there-an-implied-commit/m-p/620110#M182167</guid>
      <dc:creator>unison</dc:creator>
      <dc:date>2020-01-27T04:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Connect to Oracle, is there an implied commit?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Connect-to-Oracle-is-there-an-implied-commit/m-p/620111#M182168</link>
      <description>&lt;P&gt;Try :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
connect to oracle (server=myserver user=myuserid pw=mypass );
  execute(  insert into myuserid.mytable   (mycol)  select '1' as mycol from dual  )  ) by oracle;

  execute ( COMMIT) by oracle;

  DISCONNECT from Oracle;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Jan 2020 04:57:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Connect-to-Oracle-is-there-an-implied-commit/m-p/620111#M182168</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2020-01-27T04:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Connect to Oracle, is there an implied commit?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Connect-to-Oracle-is-there-an-implied-commit/m-p/620283#M182234</link>
      <description>&lt;P&gt;thanks, yes I know this works when you explicitly add a commit statement .&lt;/P&gt;&lt;P&gt;My question is why do you get the same result even if you do not have a commit statement?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in Oracle with an insert statement you need have a commit statement afterwards for the changes to be visible to other users .&lt;/P&gt;&lt;P&gt;As I am passing native oracle SQL in the execute statement, I would have expected that I needed to pass an explicit commit statement - but I do not .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know if this is always the case, and I never need to pass a commit statement, or whether there is some option or similar somewhere that controls this behavior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 18:53:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Connect-to-Oracle-is-there-an-implied-commit/m-p/620283#M182234</guid>
      <dc:creator>fdsaaaa</dc:creator>
      <dc:date>2020-01-27T18:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Connect to Oracle, is there an implied commit?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Connect-to-Oracle-is-there-an-implied-commit/m-p/620288#M182236</link>
      <description>&lt;P&gt;What have you set for the AUTOCOMMIT and DBCOMMIT options?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=p00lgy3xwh61b8n16kffwq3veagu.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=p00lgy3xwh61b8n16kffwq3veagu.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 19:10:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Connect-to-Oracle-is-there-an-implied-commit/m-p/620288#M182236</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-01-27T19:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Connect to Oracle, is there an implied commit?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Connect-to-Oracle-is-there-an-implied-commit/m-p/620303#M182245</link>
      <description>&lt;P&gt;Thanks, These are libname options, so they are not set as I am not using a libname .&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have searched for similar in the system options but have not been able to find anything. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 19:37:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Connect-to-Oracle-is-there-an-implied-commit/m-p/620303#M182245</guid>
      <dc:creator>fdsaaaa</dc:creator>
      <dc:date>2020-01-27T19:37:09Z</dc:date>
    </item>
  </channel>
</rss>

