IBM Support

Casting an int into a date item fails: XQE-DAT-0001 Data source adapter: com.microsoft.sqlserver.jdbc.SQLServerExceptoin:

Troubleshooting


Problem

A calculated item in a Framework Manager model contains an expression like this...
cast([Database Layer].[table].[field_name)] as date)
which runs fine when tested in Framework Manager.
However, once the model has been published to a report package in Cognos Analytics, attempting to run the report fails with...
XQE-DAT-0001 Data source adapter: com.microsoft.sqlserver.jdbc.SQLServerExceptoin: Explicit conversion from data type int to date is not allowed

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"Component":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"11.0, 11.1","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","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.

Document Information

Modified date:
13 January 2026

UID

ibm10881426