Hi, we have a sql procedure for data migration of our old system.
The procedure is generating all merge statements for our new TW tables and column with the ones of our old database.
We already have merge statements for all data + statements for a small dataset (using a extra table)
But now we want to add to merge 1 record, so I need an input parameter in the procedure: the key value of the record.
We have an functionality with code and different templates.

For all these procedures there is also generated a subroutine.
Is it possible to generate process parameters for some templates using dynamic code in the functionality?
create or alter procedure "myProc"( -- Process variables @myTableKey int )
and also generated the parameters in the generated subroutines?
Greets
Chris






