$ 0 0 I doubt it's working in SQLA, because you mix SUBSTR and SUBSTRING syntax, it's either SUBSTRING(CAST('' AS CHAR(8192)) FROM 1 FOR 256 ) or SUBSTR(CAST('' AS CHAR(8192)) , 1, 256 ) I'm not going to ask why don't you use a simple CAST('' as CHAR(${SPC_NB}) instead :-) Dieter
I doubt it's working in SQLA, because you mix SUBSTR and SUBSTRING syntax, it's either
SUBSTRING(CAST('' AS CHAR(8192)) FROM 1 FOR 256 )or
SUBSTR(CAST('' AS CHAR(8192)) , 1, 256 )I'm not going to ask why don't you use a simple CAST('' as CHAR(${SPC_NB}) instead :-)
Dieter