SELECT * INTO TABLE LT_DATA1 FROM MKPF FOR ALL ENTRIES IN LT_DATA1 WHERE FRBNR LIKE '1%'. | RANGES: LR_FRB FOR MKPF-FRBNR.
SELECT * INTO TABLE LT_DATA2 |
如下图(Durtn)查询时间对比,IN 相对于 LIKE 更优化查询
SELECT * INTO TABLE LT_DATA1 FROM MKPF FOR ALL ENTRIES IN LT_DATA1 WHERE FRBNR LIKE '1%'. | RANGES: LR_FRB FOR MKPF-FRBNR.
SELECT * INTO TABLE LT_DATA2 |
如下图(Durtn)查询时间对比,IN 相对于 LIKE 更优化查询