<?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: Get numbers from a geodatabase sequence using Pro SDK 3.3 in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-numbers-from-a-geodatabase-sequence-using-pro/m-p/1543694#M12134</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Assuming you want to get NEXTVAL from a DBMS sequence, you could:&lt;/P&gt;
&lt;P&gt;Create a DatabaseClient object then call ExecuteStatement with the sql string via the Pro API.&lt;BR /&gt;You would have to write into a temp table then read from that table to get the value. Messy.&lt;/P&gt;
&lt;P&gt;Use SqlCommand and SqlDataReader within .net&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/21709305/how-to-directly-execute-sql-query-in-c" target="_self"&gt;https://stackoverflow.com/questions/21709305/how-to-directly-execute-sql-query-in-c&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2024 02:16:57 GMT</pubDate>
    <dc:creator>sjones_esriau</dc:creator>
    <dc:date>2024-09-30T02:16:57Z</dc:date>
    <item>
      <title>Get numbers from a geodatabase sequence using Pro SDK 3.3</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-numbers-from-a-geodatabase-sequence-using-pro/m-p/1543572#M12130</link>
      <description>&lt;P&gt;I would like to return numbers from a geodatabase sequence using Pro SDK. I have searched the SDK reference and could not find anything. Can anyone confirm that at this time geodatabase sequences can only be queried via attribute rules? If that is the case, will future releases of Pro SDK support this functionality? Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 20:42:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-numbers-from-a-geodatabase-sequence-using-pro/m-p/1543572#M12130</guid>
      <dc:creator>azlotin</dc:creator>
      <dc:date>2024-09-27T20:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get numbers from a geodatabase sequence using Pro SDK 3.3</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-numbers-from-a-geodatabase-sequence-using-pro/m-p/1543694#M12134</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Assuming you want to get NEXTVAL from a DBMS sequence, you could:&lt;/P&gt;
&lt;P&gt;Create a DatabaseClient object then call ExecuteStatement with the sql string via the Pro API.&lt;BR /&gt;You would have to write into a temp table then read from that table to get the value. Messy.&lt;/P&gt;
&lt;P&gt;Use SqlCommand and SqlDataReader within .net&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/21709305/how-to-directly-execute-sql-query-in-c" target="_self"&gt;https://stackoverflow.com/questions/21709305/how-to-directly-execute-sql-query-in-c&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 02:16:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-numbers-from-a-geodatabase-sequence-using-pro/m-p/1543694#M12134</guid>
      <dc:creator>sjones_esriau</dc:creator>
      <dc:date>2024-09-30T02:16:57Z</dc:date>
    </item>
  </channel>
</rss>

