Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle Hints for INDEX in 10G

sanApr 27 2011 — edited Apr 27 2011
Hi all,

I have created the hint for my table index like
select \* +index (a emp) */ empno,empname
from emp a;
Now i want to know shall i give two hint in my select statement

ex:
select \* +index (a emp) */ empno,empname
from emp a,dept b
where deptid =:b1
and a.empid=b.empid;
for the above code i used the hint for emp table . it is possible to add the hint for dept table also.

if it is possible how to add two index hint in the single select statement.


Thanks

San.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 25 2011
Added on Apr 27 2011
5 comments
2,700 views