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: Mercadante, Thomas F (LABOR) <Thomas.Mercadante_at_labor.state.ny.us>
Date: Tue, 3 Jul 2007 14:07:44 -0400
Message-ID: <ABB9D76E187C5146AB5683F5A07336FFE08F69@EXCNYSM0A1AJ.nysemail.nyenet>


David,

Did you review the data in the field from the two databases? Maybe the 9i database has all number values while the 10g database has some char values?

Tom  


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:07:44 CDT

Original text of this message

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