Schade,
ich hatte grade das als Basis:
damit hast du Satz 1 und Satz 2 nebeneinander und kannst vergleichenCode:create table x as ( with a as (select dec(rrn(pnum1), 9, 0) as snr, pnum1.* from pnum1 where rrn(pnum1) > 0) b as (select dec(rrn(pnum1), 9, 0)-1 as snr pnum1.* from pnum1 where rrn(pnum1)>1) select * from a, b where a.snr = b.snr ) with data
Robi
![[NEWSboard IBMi Forum]](images/duke/nblogo.gif)




Mit Zitat antworten
Bookmarks