Converting a table to a multi-tenant table
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Syntax
The syntax used to convert a table to a multi-tenant table using the
ALTER
TABLE statement is given below: |
Examples
Altering a table to be a multi-tenant table with default space allocations
The following example changes the
pub.mtcustomer table to a
multi-tenant table with default space allocations: |
Altering a table to be a multi-tenant table with overriding space allocations
The following example alters the pub.mtcustomer table to be a multi-tenant table with
overriding space allocations:
|
In general, the above example describes how to convert a regular table to a multi-tenant table. When a regular table is converted to a multi-tenant table, the table data is moved to the default partition. To move the data from the default partition to the tenant partitions, see the INSERT statement.