ABAP数据库操作05-数据删除
在SE11创建一个表zlion_test,字段:学号、姓名、性别、年龄,并在SE16N中添加5条记录
1、delete where 单/多行删除
REPORT zcsdn_lion_db04.
DELETE FROM zlion_test WHERE xh = 1."单条删除
DELETE FROM zlion_test WHERE age > 30."多条删除
2、delete from 工作区
REPORT zcsdn_lion_db04.
DATA i_wa TYPE zlion_test.
i_wa-xh = 1.
DELETE zlion_test FROM i_wa.