I have several DB2 tables with the same fields and structure.
My program reads a sequential file and decides which of the tables to use in the insert statement.
So I need to find a way to use a dynamic table name within the INSERT operation.
I’m looking for something like :
INSERT INTO DYNAMIC_TB_NAME
thank u all for any suggestion.