Please assist that what is the syntax for secondary index in program before select statement?
Kindly share your valuable views here.
Thanks in advance.
I am not sure what you mean to say about syntax of secondary index. there is no special syntax for primary index and secondary index in select statements, but if you want you can specify to use a particualr index always while selecting by using oracle % hint in the select statement follow the below syntax.
SELECT MAX( kkop~augbd )INTO it_gen_docs-augbdFROM ( fkkvkp AS vkp INNER JOIN dfkkop AS kkopON vkpvkont = kkopvkont ) INNER JOIN dfkkko AS kkkoON kkopaugbl = kkkoopbelWHERE vkp~exvko = ti_cuentas-exvkoAND kkop~bukrs = p_bukrsAND kkop~blart IN r_blartAND kkop~augst = '9'AND kkko~blart IN r_blartd%_HINTS ORACLE 'INDEX("DFKKOP" "DFKKOP~Z07")'.DFKKOP is the table name and DFKKOP~Z07 is the index.
Sign up for STechies
All the site contents are Copyright © www.stechies.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies. The site www.stechies.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity. Information used on this site is at your own risk.
The content on this site may not be reproduced or redistributed without the express written permission of
www.stechies.com or the content authors.