![]() ![]()  
         | 
      
DYNAMIC-CURRENT-VALUE statement
Resets the current integer value of a sequence defined in the specified database.
Syntax
sequence-explogical-dbname-expexpressionNotes
- If
 logical-dbname-expcontains the Unknown value (?), the AVM generates a run-time error.- You cannot set a sequence to the Unknown value (
 ?).- The user must have CAN-WRITE privileges on the _Sequence table to use the DYNAMIC-CURRENT-VALUE statement.
 - The value of a sequence set by the DYNAMIC-CURRENT-VALUE statement persists in the database until the next DYNAMIC-CURRENT-VALUE statement or DYNAMIC-NEXT-VALUE function is invoked for the sequence, or until the sequence is deleted from the database.
 - You can use any combination of the DYNAMIC-NEXT-VALUE function, DYNAMIC-CURRENT-VALUE function, DYNAMIC-CURRENT-VALUE statement, and their non-dynamic versions.
 See alsoCURRENT-VALUE function, CURRENT-VALUE statement, DYNAMIC-CURRENT-VALUE function, DYNAMIC-NEXT-VALUE function, NEXT-VALUE function
![]()  | 
OpenEdge Release 10.2B 
 | 
![]() ![]()  
         |