<?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: Function to get next OBJECTID when inserting data into Oracle FC using SQL in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/function-to-get-next-objectid-when-inserting-data/m-p/1276173#M35630</link>
    <description>&lt;P&gt;I believe this is what you're looking for. &lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/workflow-using-sql-with-existing-feature-classes.htm" target="_blank"&gt;https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/workflow-using-sql-with-existing-feature-classes.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The SP is called i##_get-ids&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2023 14:47:38 GMT</pubDate>
    <dc:creator>RyanUthoff</dc:creator>
    <dc:date>2023-04-06T14:47:38Z</dc:date>
    <item>
      <title>Function to get next OBJECTID when inserting data into Oracle FC using SQL</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/function-to-get-next-objectid-when-inserting-data/m-p/1276170#M35629</link>
      <description>&lt;P&gt;Oracle:&lt;/P&gt;&lt;P&gt;I remember there being a SDE function for getting the next OBJECTID -- when inserting data into an Oracle FC using SQL. But unfortunately, I can't remember the function's name. And I can't find that section in the Esri documentation.&lt;/P&gt;&lt;P&gt;Does anyone remember what it's called or where I can find info in the docs?&lt;/P&gt;&lt;P&gt;(I'm aware that there are risks/things to consider when editing FC data using SQL. I'm just doing some testing in some fake data.)&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 14:35:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/function-to-get-next-objectid-when-inserting-data/m-p/1276170#M35629</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-04-06T14:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Function to get next OBJECTID when inserting data into Oracle FC using SQL</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/function-to-get-next-objectid-when-inserting-data/m-p/1276173#M35630</link>
      <description>&lt;P&gt;I believe this is what you're looking for. &lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/workflow-using-sql-with-existing-feature-classes.htm" target="_blank"&gt;https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/workflow-using-sql-with-existing-feature-classes.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The SP is called i##_get-ids&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 14:47:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/function-to-get-next-objectid-when-inserting-data/m-p/1276173#M35630</guid>
      <dc:creator>RyanUthoff</dc:creator>
      <dc:date>2023-04-06T14:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Function to get next OBJECTID when inserting data into Oracle FC using SQL</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/function-to-get-next-objectid-when-inserting-data/m-p/1276180#M35631</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Also:&amp;nbsp;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/editing-nonversioned-geodatabase-data-in-oracle-using-sql.htm" target="_self"&gt;Editing nonversioned geodatabase data in Oracle using SQL&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;INSERT INTO eng2.streams (OBJECTID,NAME,SHAPE) 
 VALUES (
  &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;sde.gdb_util.next_rowid&lt;/STRONG&gt;&lt;/FONT&gt;('ENG2', 'STREAMS'), 
  'TRANQUIL', 
  sde.ST_GEOMETRY('linestring (750 150, 750 750)', 4326) 
 );&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 15:02:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/function-to-get-next-objectid-when-inserting-data/m-p/1276180#M35631</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-04-06T15:02:01Z</dc:date>
    </item>
  </channel>
</rss>

