使用 IN dbspace 子句指定您希望索引驻留的 dbspac。当和任何选项(除了 TABLE 关键字)一起使用此子句时,将创建拆离的索引。
CREATE TABLE customer . . . IN custdata EXTENT SIZE 16; CREATE INDEX idx_cust ON customer (customer_num) IN custind;