Hello - I got an error which sounds like it is supposed to mean I tried to insert an incompatible data type but I'm having trouble finding useful information about why the conversion failed.
Here's the error message:
SQL state [HY000]; error code [857]; [Teradata JDBC Driver] [TeraJDBC 14.10.00.17] [Error 857] [SQLState HY000] Two different data types are being set for parameter 6 (449 & 481); nested exception is com.teradata.jdbc.jdbc_4.util.JDBCException: [Teradata JDBC Driver] [TeraJDBC 14.10.00.17] [Error 857] [SQLState HY000] Two different data types are being set for parameter 6 (449 & 481)
I've been trying to find documentation that tells me why 449 and 481 are incompatible data types - but no luck so far.
I know that I am trying to insert a java double into a decimal(11,2) - is this normally a problem?
Thanks in advance for any direction you can give in identifying the cause of this error.
Luke
Forums: