I am using utl_file
to write in a csv
file. The data includes date columns also. The issue here is
For a single digit day 0 gets removed when the data gets inserted in the csv
file.
Eg - date 07-Jun-13 gets inserted as 7-Jun-13, how can I ensure that 0 stays?
I already to_char
and concat
"" but still I get single digit date only. The csv file being generated is used by a 3rd party system hence no change can be made in the csv
.
I am using EBS 12.1.3.
Thanks
PL/SQL code snippet
concat(concat('"',lv_proj_start_date),'"') ||','||
concat(concat('"',lv_proj_start_date_plus_1),'"') ||','||
I expect the output for date in the csv like 07-Jun-13
but in csv file the o/p is 7-Jun-13
.