delete from "SOURCE"."wcs_device_error" where "device" = #{device} and "device_id" = #{deviceId}