Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2012

    Unanswered: Can you combine the TO_Char and MIN FUnctions

    Would this be a valid Oracle statement? What I am trying to do is return the lowest priced book from the table, and have it show dollars and cents
    Select TO_Char(MIN(Book_Price), '$99.99');

  2. #2
    Join Date
    Aug 2003
    Where the Surf Meets the Turf @Del Mar, CA
    Provided Answers: 1
      1* select to_char(min(emp_sal),'$999,999.99') from emp
    SQL> /
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts