I have a decimal(18, 2) field in MSSQL. I am trying to insert/update records in the table by binding the following param:
I am getting a strange error saying:
This is a bit puzzling as it is working in a similar environment, but not in this particular case. Could it be that I’m using PARAM_STR that is causing this conversion problem? What would be the correct one to use for DECIMAL? Or is it some other input that I’m missing out on that could be causing this?