Get Oracle Sequence Value Description:

The code below shows how to get a value from an Oracle database sequence. You would typically do this in order to set a field value to a number that was unique database-wide.

 

The code assumes the Editor is in use, to determine the workspace of the sequence. Alternatively, the workspace could be derived from a feature class or table.


How to use:
  1. Paste the macro into VBA.
  2. Modify the code to point to the desired sequence and run the macro.
   

 
                    
            
                

相关文章: