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

Thread: String conversion

  1. #1

    Question

    What function enables me to know whether a string is convertable to number using TO_NUMBER function?
    Something like
    ... DECODE(IS_STRING('string'), 0, TO_NUMBER('string')) ...

    Thanks.

    Queyon
    Queyon Zeng

  2. #2
    Join Date
    Sep 2001
    Location
    NJ, USA
    Posts
    1,287
    Check :
    http://www.dbasupport.com/forums/sho...threadid=23618

    U can change name of functions, for example to
    is_digit, check_number ...

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