I used to create composite index for my Oracle table with the following script.
CREATE INDEX index_name ON my_table (column1,column2,column3) TABLESPACE tablespace_name;
When I tried the same in DB2, got some errors at tablespace and I tried using the following script simply,
CREATE INDEX index_name ON my_table (column1,column2,column3);
Is this fine in DB2? As I am new to DB2 and no syntax found when searched for a composite index in DB2, not sure about this. Need advice.