Informix - Problem description
| Problem IC99721 | Status: Closed |
TRIM() ON SYSDEFAULTS.DEFAULT DOESN'T RETURN A CORRECT RESULT SE T IN A CONCATENATED STRING FOR A VARCHAR COLUMN'S DEFAULT VALUE | |
| product: | |
IBM IDS ENTRP E / 5724L2304 / B15 - IDS 11.50 | |
| Problem description: | |
If a table has been created with a default value defined on a
VARCHAR column, calling the trim() function on
sysdefaults.default to report the default value for this column
as part of a concatenated string will not return the correct
result set. Any columns or string values that follow
sysdefaults.default in the concatenation will be truncated from
the result.
For example if you have a table with a default value of 'N'
defined for the varchar column, the trim operation:
select 'test ' || trim(sysdefaults.default) || ' end of string'
from .....
Would report:
(expression) test N
1 row(s) retrieved.
Instead of:
(expression) test N end of string
1 row(s) retrieved. | |
| Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users using string concatenation function of SQL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * upgrade to 12.10.xC5 or earlier PID if available * **************************************************************** | |
| Local Fix: | |
| Solution | |
| Workaround | |
not known / see Local fix | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 27.02.2014 16.10.2015 16.10.2015 |
| Problem solved at the following versions (IBM BugInfos) | |
12.10.xC5 | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 12.10.xC4 |
|
| 12.10.xC4.W1 |
|
| 12.10.xC5 |
|
| 12.10.xC5.W1 |
|