I have created Non partitined table in db2.
create table test (name varchar (22), cell# integer);
table created succesffully.
Now I want to create index on test table in tablespace TEST_IDX.
I execute following query CREATE INDEX test1 ON test (cell#) in TEST_IDX.
It give me following error:
[CREATE - 0 row(s), 0.000 secs] [Error Code: -109, SQL State: 42601] DB2 SQL Error: SQLCODE=-109, SQLSTATE=42601, SQLERRMC=IN
db2 database version is DB2/LINUXZ64 9.7.3