I've encountered an odd issue with the bulk_insert function. The function fails when inserting values with scale >= 4 and 4 leading 0s. For example,
ctds.SqlDecimal(.000183, 23, 10)
will work, while
ctds.SqlDecimal(.000083, 23, 10)
fails. It could possibly have something to do with python representing floating point numbers in scientific notation when the # of leading 0s after the decimal is >= 4.
I've encountered an odd issue with the bulk_insert function. The function fails when inserting values with scale >= 4 and 4 leading 0s. For example,
ctds.SqlDecimal(.000183, 23, 10)
will work, while
ctds.SqlDecimal(.000083, 23, 10)
fails. It could possibly have something to do with python representing floating point numbers in scientific notation when the # of leading 0s after the decimal is >= 4.