<?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: Working with Oracle sequence in SAS DI in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Working-with-Oracle-sequence-in-SAS-DI/m-p/505015#M15683</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/166915"&gt;@strsljen&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Some explicit pass-through code as below should do the job. Using DIS I'd implement this as a custom transformation for re-usability.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;select put(seq_no,z16. -l) into :seq_no
from connection to ora
  (
    SELECT
       ORACLE_SCHEME.MY_SEQUENCE.NEXTVAL as seq_no
    FROM
       DUAL
  );&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 17 Oct 2018 09:16:10 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2018-10-17T09:16:10Z</dc:date>
    <item>
      <title>Working with Oracle sequence in SAS DI</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Working-with-Oracle-sequence-in-SAS-DI/m-p/505006#M15681</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to utilize Oracle sequence to get unique number within set of DI jobs running within the same flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you reccommend the best way to utilize it within SAS DI?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically I run:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;SELECT&lt;BR /&gt;&lt;/SPAN&gt;   ORACLE_SCHEME.MY_SEQUENCE.NEXTVAL&lt;BR /&gt;&lt;SPAN&gt;FROM&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;   DUAL&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 08:49:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Working-with-Oracle-sequence-in-SAS-DI/m-p/505006#M15681</guid>
      <dc:creator>strsljen</dc:creator>
      <dc:date>2018-10-17T08:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Working with Oracle sequence in SAS DI</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Working-with-Oracle-sequence-in-SAS-DI/m-p/505015#M15683</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/166915"&gt;@strsljen&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Some explicit pass-through code as below should do the job. Using DIS I'd implement this as a custom transformation for re-usability.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;select put(seq_no,z16. -l) into :seq_no
from connection to ora
  (
    SELECT
       ORACLE_SCHEME.MY_SEQUENCE.NEXTVAL as seq_no
    FROM
       DUAL
  );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Oct 2018 09:16:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Working-with-Oracle-sequence-in-SAS-DI/m-p/505015#M15683</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-10-17T09:16:10Z</dc:date>
    </item>
  </channel>
</rss>

