Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: issue with deleting adjacent duplicates from internal tab

$
0
0

Hi dgrachee!

 

Adding tothatJogeswarasaid, youcan also createan internal tableassorted(TYPESORTEDTABLE)andbythe sql query(ifan internal tableused inSQLstatements)andorder thequery asdescending, as I showbelow:

TYPES: BEGIN OFy_spfli,
          carridTYPEspfli-carrid,
          connidTYPEspfli-connid,
        END OFy_spfli.

DATEt_spfliTYPESORTEDTABLE OFy_spfliWITHNON-UNIQUE KEY carridconnid.

SELECTcarridconnid
   FROMspfli
   INTO TABLEt_spfli
   UP TO50ROWS
   ORDER BYconnidDESCENDING.


Viewing all articles
Browse latest Browse all 8944

Trending Articles