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":"BU059","label":"IBM Software w\/o TPS"},"Component":"Extensions","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Adapters","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

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 the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. 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

More support for:
IBM Sterling B2B Integrator

Software version:
All

Document number:
193241

Modified date:
16 June 2018

UID

swg21561470

Manage My Notification Subscriptions