Thread
:
db2-- Decimal to Varchar without leading zeros
View Single Post
#
8
(
permalink
)
06-26-07, 09:00
umayer
Registered User
Join Date: Dec 2005
Posts: 273
how about
:
STRIP ( CHAR (
column
) , L , '0' )
?
I'd suggest not to use REPLACE(...), as any '0' would be replaced by blanc ( not only the leading or trailing ones ).
*ups* I just saw that the original post is several years old ...
Last edited by umayer; 06-26-07 at
09:06
.
umayer
View Public Profile
Visit umayer's homepage!
Find all posts by umayer