IBM Support

Arithmetic overflow error converting expression to data type datetime

Troubleshooting


Problem

Arithmetic overflow error converting expression to data type datetime

Symptom

LWJDBC adapter fails when updating a column with a time that has an hour value of 24.

The business process was using the "TimestampUtilService" with this parameter yy/MM/dd kk:mm:ss:SSS

The kk value generates the hour in the range 1-24.

This was causing the error in the LWJDBC adapter when updating an external SQL database.

Error Message

8115: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Arithmetic overflow error converting expression to data type datetime

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Extensions","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Adapters","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

TRB2400

Document Information

Modified date:
16 June 2018

UID

swg21561470