Hi Suman,
I guess you are working on replicating procedure, if am not wrong.
You can use a cursor to achieve it. You can open a cursor to read the columns even from a table TABLE_COLUMNS and then loop and concatenate them into a single string to form you insert or update query.
Regards,
Krishna Tangudu