I have a question about optimizing for hana db.
In old days
we would remove rows from a big table like this:
DO. EXEC SQL. delete from table where mandt = :sy-mandt and rownum <= :c_block_size ENDEXC. IF sy-dbcnt EQ 0. EXIT. ENDIF. CALL FUNCTION 'DB_COMMIT'. ENDDO.
Because HANA is a in-memory DB can we just do this:
delete from table.
That should be working great right ?