Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: to_char (33, '0009') adds an extra white space
Nothing wrong. Oracle adds automatically a '-' for negative numbers and
a ' ' for positive numbers.
(As documented).
If you don't want that prefix the format with 'fm', so
to_char(33,'fm0009')
-- Sybrand Bakker Senior Oracle DBAReceived on Mon Jan 09 2006 - 07:44:38 CST
![]() |
![]() |