Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: data type conversion in 10g

RE: data type conversion in 10g

From: Mark W. Farnham <mwf_at_rsiz.com>
Date: Tue, 3 Jul 2007 14:42:23 -0400
Message-ID: <01a801c7bda1$e6975450$1100a8c0@rsiz.com>


Two possibilities come to mind that do not involve more restrictions in 10g:  

  1. a particular test1 is now being converted that is in fact not a valid number when the implicit conversion is used that was formerly not examined in the order of solution of the 9i plan while a new plan in 10g checks the value.
  2. your data has changed such that a non-numeric value newly exists in some tuple in column test1.

Regards,  

mwf  


From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of David Boyd
Sent: Tuesday, July 03, 2007 1:43 PM
To: oracle-l_at_freelists.org
Subject: data type conversion in 10g    

We have Oracle 10.2.0.3. There is one field, test1 that is definite as char(2). When we use 'where test1<88', it works fine in 9i, but we get 'ORA-01722 invalid number' error in 10g. Once I add single quotes around 88, the error is gone. I know the best practice is not to use implicit conversion. Just wonder why it works in 9i, but not in 10g, more restriction in 10g or if there is any change in 10g that causes the error tracked?  


See what you're getting into.before you go there. Check it out! <http://newlivehotmail.com>

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jul 03 2007 - 13:42:23 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US