report z_generic_test_program .
tables: csks.
start-of-selection.
select * up to 10 rows from csks
where kokrs <> space and
kostl <> space
%_hints oracle 'index(csks"J")'.
write: / csks.
endselect.
tables: csks.
start-of-selection.
select * up to 10 rows from csks
where kokrs <> space and
kostl <> space
%_hints oracle 'index(csks"J")'.
write: / csks.
endselect.
本文展示了一个使用 ABAP 编写的程序示例,该程序从 csks 表中选择最多 10 条记录,并排除了特定条件下的一些数据。通过 %_hints 指示符,程序还指定了 Oracle 数据库的索引使用方式。
1455

被折叠的 条评论
为什么被折叠?



