Specifying Fragments

You can specify one fragment or a comma-separated list of fragments, with the name (or list of names) enclosed between parentheses that immediately follow the ON table specification. You cannot use quotation marks to delimit fragment names. The database server issues an error if you include no fragment, or if no fragment of the specified table matches a fragment that you list.

Each fragment must be referenced by its name. If you did not declare an explicit identifier when you created the fragment, its name defaults to the name of the dbspace in which it resides.

After a dbspace is renamed successfully by the onspaces utility, only the new name is valid. HCL OneDB™ automatically updates existing fragmentation strategies in the system catalog to substitute the new dbspace name, but you must specify the new name in GRANT FRAGMENT statement to reference a fragment whose default name is the name of a renamed dbspace.