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

Thread: SQL loader behaviour

  1. #1
    Join Date
    Feb 2001
    Posts
    75
    Hi,

    I have a column in table with number(6,1). The data comes as .149999999. The oracle puts it as .1 while informix makes it .2.

    How can I make it .2 in Oracle too. I do not want to use functions as I use direct path load.

    kailash pareek

  2. #2
    Join Date
    Nov 2000
    Posts
    344
    This is normal rounding behaviour. I think informix does it wrong.

    The only suggestion that I can come up with is to increase the precision on your table, and make a script to run after your dataload to round the way you like it.

    -John

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