Super-tenant sequence access
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Super-tenant sequence access
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 owned by a specified tenant. -
NEXT-VALUEandDYNAMIC-NEXT-VALUEfunction—Provides an option to return the next value of the multi-tenant sequence owned by a 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 tenants and super tenant. The following topic describes these potential issues.