how to store bigdecimal
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: how to store bigdecimal

  1. #1
    Join Date
    Mar 2001
    Posts
    38
    is there any way to insert
    insert into a(bigdecimal,doubleobject)
    values(1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111,1.2E02)
    el472@hotmail.com

  2. #2
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    ***quote from Oracle Reference
    The NUMBER datatype stores fixed and floating-point numbers. Numbers of virtually any magnitude can be stored and are guaranteed portable among different systems operating Oracle, up to 38 digits of precision.

    The following numbers can be stored in a NUMBER column:
    - positive numbers in the range 1 x 10(-130) to 9.99..9 x 10(125) - with up to 38 significant digits
    - negative numbers from -1 x 10(-130) to 9.99..99 x 10(125) - with up to 38 significant digits
    .....
    ***/quote

    This means you can store any *miningfull* number in Oracle!
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

  3. #3
    Join Date
    Nov 2000
    Posts
    344
    If you need to store numbers that large you can do so by treating them as VARCHAR2 in the database.

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