Sign in Join
FPDoc Onlineexperiment

TSQLSequence.GetNextValue function

Member of TSQLSequencepublicIn unit SQLDB

Get a next value for the sequence.

Declaration

pascal
function GetNextValue: Int64

Function result

The new value for the sequence.

Description

GetNextValue gets a new value for generator SequenceName using IncrementBy

Errors

If the dataset is not attached to a connected database, an exception will be raised.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.