Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I need to clear a table so that every key "Material_Period" exists just once.
Distinct does not work since other fields are different.
where not exists brought errors.
Any idea?
Right now I'm doing a detour like that:
Kalk_Temp:
LOAD
PLANT
,
replace
makedate
// LOTSIZE,
// LOTSIZE_UNIT,
ZMAT
FROM
U:\ZKALKMAT.qvd
(
)
where
201003
and
0
315000
;
qualify
*;
unqualify
'Key';
Kalk0001:
*
resident
Kalk_Temp
Kalk0003:
drop
Kalk_Temp;
Kalkfinal:
Load
Kalk0001;
Kalk0003
Thanks for your help!