Could you please suggest the resource link to "Add a trigger to the table to normalize the contents of column1 upon insert and then rewrite your query to reference the newly created normalized fields." if anything available. So that it will help me to get into issues.
Thanks for your support.
Regards,
Postgann.
On Fri, May 22, 2020 at 12:46 PM Mohammed Afsar <vmdapsar@gmail.com> wrote:
Dear team,
Kindly try to execute the vacuum analyzer on that particular table and refresh the session and execute the query.
SELECT seq_no+1 INTO pair_seq_no FROM SCHEMA.TABLE WHERE (Column1 like '%,sheath--'||cable_seq_id ||',%' or Column1 like 'sheath--'||cable_seq_id ||',%' or Column1 like '%,sheath--'||cable_seq_id or Column1='sheath--'||cable_seq_id) order by seq_no desc limit 1 ;