Table of Contents

ISQLGenerator.GenerateGetNextSequenceValue Method

Generates a SQL statement that retrieves the next value from a database sequence.

Syntax

Unit: Aurelius.Sql.Interfaces

function ISQLGenerator.GenerateGetNextSequenceValue(Command: TGetNextSequenceValueCommand): string; virtual; abstract;

Parameters

<-> Parameter Type Description
Command TGetNextSequence​Value​Command The command object describing the sequence name and increment step.

Returns

The SQL statement that, when executed, returns the next sequence value.

See also