日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

Abap DELETE - duplicates

發布時間:2025/3/20 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Abap DELETE - duplicates 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

今天發現自已一直忽視了一個問題, DELETE - duplicates 刪除內表重復記錄語句是有條件限制的,必需是依據關鍵字或你定義的字段排序后才行。

仔細看了一下它的文檔,確實是它只能對相鄰的相同的記錄做刪除。因為這個忽視,找了n久都沒找到程序的 bug 在哪,潛意識里不會想到 DELETE - duplicates 會是這樣的定義,范了最低級的錯誤,學習不夠嚴謹,下不違例。

?

DELETE - duplicates Syntax ... ADJACENT DUPLICATES FROM itab ???????????? [COMPARING { comp1 comp2 ...}|{ALL FIELDS}]... . Addition: ... COMPARING {comp1 comp2 ...}|{ALL FIELDS}

Effect With these additions, the statement DELETE deletes all lines in certain groups of lines, except for the first line of the group. These are groups of lines that follow one another and have the same content in certain components. If the addition COMPARING is not specified, the groups are determined by the content of the key fields.

Lines are considered to be doubled if the content of neighboring lines is the same in the components examine


總結

以上是生活随笔為你收集整理的Abap DELETE - duplicates的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。