numformat
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: numformat

  1. #1
    Join Date
    Aug 2000
    Location
    Jolo, Sulu
    Posts
    639
    Hi,

    How can I set the "numformat" parameter within PL/SQL block?

    In SQL> prompt we can set numformat "000.00"

    If you select amount from tab1 with value 1000
    it will be selected as 1000.00

    Can I do this on PL/SQL triggers?


    Thanks


  2. #2
    Join Date
    Sep 2001
    Location
    NJ, USA
    Posts
    1,287
    Use:

    select to_char(1000, '9999D99') from dual;

Posting Permissions

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



Click Here to Expand Forum to Full Width