Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Delete from hana DB

$
0
0

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 ?


Viewing all articles
Browse latest Browse all 5653

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>