The select statemnt which use should have the same key sequence, then the informix will automaticaly refer to the related index. For E.g:
If you have two indexes one on emp_code field and the other one on grade_code.
The select statment
select * from employee_mast
where emp_code = "1057";
will refer the emp_code index. If you want to refer to all the rows of a select statemnt, you can specifiy some query which selects all the rows like this
where emp_code matches "*";
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.