Skip to content

Unable to insert a BigDecimal with high scale #787

@jan-krakora

Description

@jan-krakora

Driver version or jar name

mssql-jdbc-7.0.0.jre8.jar

SQL Server version

SQL Server 2017

Client operating system

Windows 10 x64

Java/JVM version

Oracle JDK 9.0.4

Problem description

When trying to insert a BigDecimal value parsed from text like "9.99E+99" I've got an error
com.microsoft.sqlserver.jdbc.SQLServerException: Error converting data type nvarchar to decimal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions