Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> ORA-01722
Hi List,
I have a strange problem for ONLY one table in entire database, when run the
following query got ORA - 01722 and when I drop the table and rebuild it
it's running OK,
Any Idea?
this is the query which I run:
select count(*)
from (select osi_srv_code_from, osi_srv_code_to from op_service_info_osi where OSI_TASK_ID = ? and substr(OSI_SRV_CODE_FROM, 1, 1) = '9' AND substr(OSI_SRV_CODE_TO, 1,1)='9' ) a where (to_number(a.OSI_SRV_CODE_FROM) = 97001 and to_number(a.OSI_SRV_CODE_TO) = 97001) OR (to_number(a.OSI_SRV_CODE_FROM) >= 97002 and to_number(a.OSI_SRV_CODE_TO) <= 97530) OR (to_number(a.OSI_SRV_CODE_FROM) >= 97531 and to_number(a.OSI_SRV_CODE_TO) <= 97750) OR (to_number(a.OSI_SRV_CODE_FROM) = 97003 and to_number(a.OSI_SRV_CODE_TO) = 97003) OR (to_number(a.OSI_SRV_CODE_FROM) >= 97004 and to_number(a.OSI_SRV_CODE_TO) <= 97530) OR (to_number(a.OSI_SRV_CODE_FROM) = 97535 and to_number(a.OSI_SRV_CODE_TO) = 97535) OR (to_number(a.OSI_SRV_CODE_FROM) = 92056 and to_number(a.OSI_SRV_CODE_TO) = 92056)
oracle 8.1.7 sun OS5.7, I have the same problem on 8.1.6 version TOO.
Hamid Alavi
Office 818 737-0526
Cell 818 402-1987
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Hamid Alavi
INET: hamid.alavi_at_quovadx.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Sun Apr 21 2002 - 14:33:20 CDT
![]() |
![]() |