To answer the actual need for this..
We have a column which is made up of different fields like
1. a indicator
2. Record number
along with them are date and time.
so, I was thinking If it is possible to create index only on 1 and 2 instead of all the fields in the column..
Also, I have checked a DB2 blog related to this..below is a link...
Unfortunately db2 v9.7 for LUW still doesn't support index on expressions. (Although it does exist on DB2 V9.1 Z OS).
Suggest you raise a call with IBM and check more on this one. Also check if you can try altering the source table structure so that it can be benefited from the index access and simplify our world.
Cheers, Vijay
Last edited by MMcCarthy; Oct 23 '10, 08:24 PM.
Reason: removing signature link
Comment