home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
14.10.xC11 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

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 FixList
12.10.xC4.W1 FixList
12.10.xC5 FixList
12.10.xC5.W1 FixList