When you create a table you can specify create table ... index in
<tablespace> ....
Once the table is created this can not be changed or added?
The only solution I can see is to drop and recreate the table.
Is this correct, or is there a way ?
/dg
That is correct. Once a table has been assigned to a tablespace
(whether the data portion of the table, index portion, or lob
portion) this is "set in stone".
--
Serge Rielau
SQL Architect DB2 for LUW
IBM Toronto Lab
Yes, but that requires that the table is created with range
partitioning enabled. You can't alter a non-range-partitioned
table to enable range partitioning.
So you're back to drop/create the table.
Come 9.7, online table move with awesome options are supported in db2.
9.7 is available now if you want it. Will require a new license file from
Passport Advantage (like 9.5 when upgrading from 9.1).