Use the example as a reference for sp_iqindex and sp_iqindex_alt usage.
call sp_iqindex (NULL,'DepartmentID')
sp_iqindex column_name='DepartmentID'
table_ name |
table_ owner |
column_ name |
index_ type |
index_name |
unique_ index |
location |
dbspace_id |
remarks |
---|---|---|---|---|---|---|---|---|
Departments |
GROUPO |
DepartmentID |
FP |
ASIQ_IDX_T201_C1_FP |
N |
Main |
16387 |
(NULL) |
Departments |
GROUPO |
DepartmentID |
HG |
ASIQ_IDX_T201_C1_HG |
U |
Main |
16387 |
(NULL) |
Employees |
GROUPO |
DepartmentID |
FP |
ASIQ_IDX_T202_C5_FP |
N |
Main |
16387 |
(NULL) |
sp_iqindex Departments,NULL,GROUPO
sp_iqindex table_name='Departments',table_owner='DBA'
table_ name |
table_ owner |
column_ name |
index_ type |
index_name |
unique_ index |
location |
dbspace_id |
remarks |
---|---|---|---|---|---|---|---|---|
Departments |
GROUPO |
DepartmentHeadID |
FP |
ASIQ_IDX_T201_C3_FP |
N |
Main |
16387 |
(NULL) |
Departments |
GROUPO |
DepartmentID |
FP |
ASIQ_IDX_T201_C1_FP |
N |
Main |
16387 |
(NULL) |
Departments |
GROUPO |
DepartmentID |
HG |
ASIQ_IDX_T201_C1_HG |
U |
Main |
16387 |
(NULL) |
Departments |
GROUPO |
DepartmentName |
FP |
ASIQ_IDX_T201_C2_FP |
N |
Main |
16387 |
(NULL) |
sp_iqindex_alt Employees,City
sp_iqindex_alt table_name='Employees', column_name='City'
table_ name |
table_ owner |
column_ name |
index_ type |
index_name |
unique_ index |
dbspace_id |
remarks |
---|---|---|---|---|---|---|---|
Employees |
GROUPO |
City |
FP |
ASIQ_IDX_T452_C7_FP |
N |
16387 |
(NULL) |
Employees |
GROUPO |
City |
HG |
emp_loc |
N |
16387 |
(NULL) |
Employees |
GROUPO |
State |
HG |
emp_loc |
N |
16387 |
(NULL) |
sp_iqindex Employees,City
sp_iqindex table_name='Employee',column_name='City'
table_ name |
table_ owner |
column_ name |
index_ type |
index_name |
unique_ index |
dbspace_id |
location |
remarks |
---|---|---|---|---|---|---|---|---|
Employees |
GROUPO |
City |
FP |
ASIQ_IDX_T452_C7_FP |
N |
16387 |
Main |
(NULL) |
Employees |
GROUPO |
City,State |
HG |
emp_loc |
N |
16387 |
Main |
(NULL) |