• I'm planning to run everything inside the PROC:

    CREATE PROC (@Product_Id, @Fund_Id, @NewProduct_Id, @NewFund_Id, @TableName)

    AS

    BEGIN

    END

    that's just the shell. I'm still trying to get the inside code correctly.