• Qira,

    really it can be a beginning of rather long road. Next step is to take target column data type into account. Both at query generation and at user input. Consider user is about to include a comparison term which refers [test_Figure1].[debit_amt_year1]. Friendly front-end must help him and prevent illegal constant input.