how to add a 0 in a number column
Hai All
I my table i had three column
Intime declared as date
Outime as date and Working_time is declared as number
So while subracting intime and outtime i got a result in three digit
For eg
outtime is 1715 and intime is 0815 then working_time is 0900 i need result like this but i got 900
Even though i have added lpad in it ...My update statement is
update dail_att set wtime = lpad((to_number(to_char(outtime,'hh24mi')-to_char(intime,'hh24mi'))),4,0);
Regards
srikkanth.M