I understand that from all of your replies , this dynamic approach is not possible because dynamic PL/SQL block is unlikely to have access to the :NEW and :OLD trigger variables. If I write dynamic plsql also, As execute immediate will execute the code as if it's a seperate process from the trigger and giving me the error "ORA-01008: not all variables bound" during execution. So if there is any new columns need to be included then I will change the code and I will deploy it in live. Thank you all for your prompt responses. Thank you.