static ISequence GetSequence(this IQueryContext context, ObjectName sequenceName)
static SqlNumber GetNextValue(this IQueryContext context, ObjectName sequenceName)
Increments the sequence and returns the computed value.
static void SetCurrentValue(this IQueryContext context, ObjectName sequenceName, SqlNumber value)
Sets the current value of the sequence, overriding the increment mechanism in place.
Provides a context for executing queries, accessing the system resources and evaluation context...
static SqlNumber GetCurrentValue(this IQueryContext context, ObjectName sequenceName)
Gets the current value of the sequence.