Informix - Problem description
Problem IT19897 | Status: Closed |
ERROR 9634 'NO CAST FROM TYPE-NAME' WHEN USING INSERT CURSORS AND SOME BUILT-IN FUNCTIONS | |
product: | |
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10 | |
Problem description: | |
Doing an INSERT or UPDATE operation using an insert cursor, may fail with error -9634 if the SQL statement contains a built-in function such as 'current' and 'today' and some placeholders. For example, an SQL insert like: 'insert into tab1(date_col,bool_col) values (current,?)'; may fail, but changing the order of the parameters will avoid the error: 'insert into tab1(bool_col,date_col) values (?,current)'; | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Using certain so-called "constant expressions" (e.g. * * CURRENT) with an insert cursor may cause SQL error -9634 or * * -1260. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Update to IBM Informix Server 12.10.xC9 or newer. * **************************************************************** | |
Local Fix: | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 27.03.2017 11.07.2017 11.07.2017 |
Problem solved at the following versions (IBM BugInfos) | |
12.10.xC9 | |
Problem solved according to the fixlist(s) of the following version(s) |