IBM Support

Error UDA-EE-0094 when creating a filter against a query item with DATETIME2 type

Troubleshooting


Problem

On a filter agains a query item defined as type DATETIME2 or DATE, a UDA error about data types not matching is returned

Symptom

When using the data types DATETIME2 or DATE in a query item coming from SQL Server 2008, a filter expression like this one returns an error:

[Query Subject].[Date] = '2009-12-31 00:00:00:000'

Error message as follows:

RQP-DEF-0177 An error occurred while performing operation 'sqlPrepareWithOptions' status='-126'

UDA-SQL-0460 A general exception has occurred during local processing.

UDA-EE-0094 The operation "greater" is invalid for the following combination of data types "timestamp2" and "character"

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Report Studio","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.2;10.2.1;10.2.1.1;10.2.2","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

swg21497998