Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Format mask for Numeric and Data data

HeshJun 23 2009 — edited Jun 27 2009
1)Is there any way to suppress timestamp for 12:00:00 value from a date column with TO_CHAR? except that value we should display time value for date column, like this
 
             01/12/2009 01:15:01  , 01/12/2009 12:00:00 
             
this should be like
 
             01/12/2009 01:15:01 , 01/12/2009 
             
2) Can I display "0." decimal infornt of numeric value? I used to_char('0.1','9999990.99') , but its displays leading spaces How can I toggle fm for numeric values ?

Thanks,
Hesh.

Edited by: Hesh on Jun 23, 2009 12:27 AM
This post has been answered by 708088 on Jun 23 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 25 2009
Added on Jun 23 2009
8 comments
1,251 views