ADD Clause
Use the ADD clause to add another fragment to a list of fragments of an existing table or index.
Element | Description | Restrictions | Syntax |
---|---|---|---|
dbspace | Name of a dbspace to store the new fragment | Must exist If the table is in a tenant database, the dbspace must be a dedicated dbspace in the tenant database properties list. If the table is not in a tenant database, the dbspace cannot be the name of a dbspace that is dedicated to a tenant database. |
Identifier |
expression | Expression that defines the new fragment that is to be added | Must return a Boolean value (t or f ) |
Condition; Expression |
fragment | Name of an existing fragment | Must exist | Identifier |
new_dbspace | Name of a dbspace being added to store new interval fragments | Must exist If the table is in a tenant database, the new_dbspace must be a dedicated dbspace in the tenant database properties list. If the table is not in a tenant database, the new_dbspace cannot be the name of a dbspace that is dedicated to a tenant database. |
Identifier |
part | Name that you declare here for the new fragment. The default is the name of the dbspace. | Required if another fragment in the fragment list is stored in the same dbspace. Must be unique among names of fragments of the index. | Identifier |
The expression can contain column names only from the current table, and data values only from a single row. No subqueries or aggregates are allowed. In addition, the built-in CURRENT, DATE, DBINFO, SYSDATE, and TODAY expressions are not valid in this context.