db_nextval (public)

 db_nextval [ -dbn dbn ] sequence

Defined in packages/acs-tcl/tcl/01-database-procs.tcl

Example:

    set new_object_id [db_nextval acs_object_id_seq]
    

Switches:
-dbn (optional)
The database name to use. If empty_string, uses the default database.
Parameters:
sequence (required)
the name of an SQL sequence
Returns:
the next value for a sequence. This can utilize a pool of sequence values.
See Also:

Testcases:
acs_object_procs_test, ad_proc_permission_grant_and_revoke, ad_proc_permission_permission_p
[ show source ]
Show another procedure: