t***@gmail.com
2014-09-10 19:55:08 UTC
in db2, the the dba is able to easily remove duplicates with this type of syntax:
DELETE FROM
(
select ROWNUMBER() OVER (PARTITION BY
activity_id ,
tour_point_id ,
etc etc etc
)
AS RN
FROM dstage.activity_audit
where
updated_by = 'wlsedi'
and update_date > '2014-08-01 00:00:00.000'
)
AS A
WHERE RN > 1;
is there an equivalent in Informix?
thanks
tom
DELETE FROM
(
select ROWNUMBER() OVER (PARTITION BY
activity_id ,
tour_point_id ,
etc etc etc
)
AS RN
FROM dstage.activity_audit
where
updated_by = 'wlsedi'
and update_date > '2014-08-01 00:00:00.000'
)
AS A
WHERE RN > 1;
is there an equivalent in Informix?
thanks
tom