Hi,
you can try to use the CAST(expression AS data_type) or CONVERT (data_type[(length)], expression [, style])
functions.
ex:
select CAST(EMPNO AS char(2)) from EMP;
select CONVERT(char(2), EMPNO) from EMP;
regards.
|
Results 1 to 5 of 5
Thread: Format changeThreaded View
|
Click Here to Expand Forum to Full Width |