Hi,
the trivial solution is to add the string '00' in front:
SELECT '00' || cast((sth_employee_id (FLOAT,FORMAT'9(18)')) as char(18)) FROM aeo_devlworkdb.flat_tlog WHERE sth_employee_nbr is not null ;
Mats
Attachments
Library
Quick Reference
Archives
Sample Index
2002 Indexes