Subject Re[2]: [firebird-support] Varchar 32765 as result of substring?
Author Björn Reimer
> Use substring to cut the "excess" and then cast it to the desired size,
> something like this:

> select cast(Substring(LPAD('ABC',10,'*') from 1 for 10) as
> varchar(10)), cast(Substring(LPAD('ABC',10,'*') from 1 for 10) as varchar(10))
> FROM RDB$DATABASE;

Thanks, that did it.





--
Björn Reimer - RRZE