2021 May 07 10:01 AM
is there any way to delete all rows of an internal table from an internal table?
for example :
DELETE <table1> from <table2> where <table1-field> eq <table2-field>
even without where is fine, I need everything in table2 to delete everything in table1
2021 May 07 10:15 AM
2021 May 07 2:08 PM
from the link I did not understand how to do it, can you give me a practical example? thank you
2021 May 07 2:52 PM
Hi,
one way is looping table2 and delete table1 by comparing table2-field (will affect the performance based on table size.
load table2-field to single selection or equalant one and use
DELETE table1 where field in s_field.