日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Abap DELETE - duplicates

發(fā)布時(shí)間:2025/3/20 编程问答 16 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Abap DELETE - duplicates 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

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

仔細(xì)看了一下它的文檔,確實(shí)是它只能對(duì)相鄰的相同的記錄做刪除。因?yàn)檫@個(gè)忽視,找了n久都沒找到程序的 bug 在哪,潛意識(shí)里不會(huì)想到 DELETE - duplicates 會(huì)是這樣的定義,范了最低級(jí)的錯(cuò)誤,學(xué)習(xí)不夠嚴(yán)謹(jǐn),下不違例。

?

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


總結(jié)

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

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。