Hi Eitan ,
Actually i suggested the same for my team.
But there are lot many CHECKs and code in between SELECT ENDSELECT , i made it simple above for ur understanding .
and i dont want to manually fill in records which i need to skip.
like i need to append 20 entries , instead it was easy in CHECK STATEMENT like 'ABC*' for ABC1 TO ABC10.
can you please suggest code which can be written inside SELECT ENDSELECT.
because i dont want to edit existing logic.
ur code suggested code is perfect , i have no problem with that.
Thanks