this was a tough task as there were 100k records which were failed,
I used the substring and instring concept to get these values.
following is the query that i have used
select substr(payload,instr(payload,'
as person_id from Data_logs
where 1=1
and ERROR_MESSAGE='Error'
and
LENGTH(TRIM(TRANSLATE(substr(payload,instr(payload,'
No comments:
Post a Comment