Super-tenant sequence access
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Similar to multi-tenant tables, a super tenant can access a multi-tenant sequence owned by a particular tenant using the following functions:
-
CURRENT-VALUEandDYNAMIC-CURRENT-VALUEfunction — Provides an option to return the current value of the multi-tenant sequence for the specified tenant. -
NEXT-VALUEandDYNAMIC-NEXT-VALUEfunction — Provides an option to return the next value of the multi-tenant sequence for the specified tenant.
However, note that if you configure, or ever intend to configure, tables with tenant groups or shared tables in a multi-tenant database, certain uses of a multi-tenant sequences can have unintended consequences, both for regular and super-tenant users. The following section describes these potential issues.