IBM Support

Reading from Sybase IQ table using convert function fails: data type conversion is not possible.

Troubleshooting


Problem

When reading from a Sybase IQ table using SQLTerm and the SELECT contains a convert function e.g. convert(date,birthdate) as birth_date, the query fails with an error.

Symptom

1. ERROR
DM-DBM-0400 UDA driver reported the following on connection DELOTTO_DW:
UDA-SQL-0107 A general exception has occurred during the operation "fetch".
[Sybase][ODBC Driver][Adaptive Server IQ]Data exception -
-- (dfe_Cast.cxx 786)

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Data Manager","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"10.1;10.1.1;10.2;10.2.1;10.2.2","Edition":"All Editions","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"}}]

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.

Document Information

More support for:
Cognos Business Intelligence

Software version:
10.1, 10.1.1, 10.2, 10.2.1, 10.2.2

Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows

Document number:
395537

Modified date:
08 May 2025

UID

swg21398016

Manage My Notification Subscriptions