Fixed type mismatch error in tables containing the data type double and replaced with data type decimal