Alter a smart-large-object column

You can use the PUT clause of the ALTER TABLE statement to change the storage location and the storage characteristics of a CLOB or BLOB column. You can change the sbspace where the column is stored and also implement round-robin fragmentation, which causes the smart large objects in the CLOB or BLOB column to be distributed among a series of specified sbspaces. For example, the ALTER TABLE statement in the following example changes the original storage location of the advert.picture column from s9_sbspc to the sbspaces s10_sbspc and s11_sbspc. The ALTER TABLE statement also changes the characteristics of the column:
advert         ROW (picture BLOB, caption VARCHAR(255, 65)),
   
;

PUT advert IN (s9_sbspc)
   (EXTENT SIZE 100)

ALTER TABLE catalog 
   PUT advert IN (s10_sbspc, s11_sbspc)
   (extent size 50, NO KEEP ACCESS TIME);

When you change the storage location or storage characteristics of a smart-large-object column, the changes apply only to new instances created for the column. The storage location and storage characteristics of existing smart large objects for the column are not affected.

For a description of the catalog table that the preceding example references, see the Examples for smart-large-object functions.

For more information about the ALTER TABLE statement, see the HCL OneDB Guide to SQL: Syntax.