当前位置:网站首页>Oracle error: ora-01722 invalid number
Oracle error: ora-01722 invalid number
2022-07-28 01:05:00 【time Friend】
Procedure or Oracle The database appears “ORA-01722 Invalid number ” error
reason :
1、Oracle Database Field is Number type , If you operate the database SQL Carried by this field in the statement Data is not of numeric type ,Oracle The database will automatically convert the data carried in this field into Number type , But in the end, if the conversion is not successful, an error will be reported .
for example SQL The data carried by this field in the statement is “123”, that Oracle Can successfully convert , If the data carried in this field is “2019 year 6 month 10 Japan ”,Oracle switch views , Report invalid number error !
2、SQL In the sentence When multiple tables are associated , The value of the association condition field Oracle It will be automatically converted to numeric type , If the conversion fails, an error is reported .
for example A Primary Key ID(Number type ) and B A field in the table A_ID(Varchar2 type ), Association statement :from A left join B on A.ID = B.A_ID,Oracle Will first A_ID convert to Number type , If you insert data or modify data, you will A_ID The value of becomes non numeric ( english 、 Chinese characters or special characters ), Now Oracle Conversion will report an error .
边栏推荐
- 分支和循环语句题目练习
- [CruiseControl]Build Result JSP
- Count the six weapons of the domestic interface cooperation platform!
- "C language" deep entry rounding & four functions
- 如果某个表有近千万数据,CRUD比较慢,如何优化
- Network equipment hard core technology insider firewall and security gateway (V) security double repair method
- 【C语言入门】ZZULIOJ 1026-1030
- Jerry Zhi has problems in real-time adjustment of sound change effect in magic sound mode [chapter]
- Logic of automatic reasoning 09 - automatic theorem proving
- Oracle错误: ORA-01722 无效数字
猜你喜欢

Basic operations of MySQL database (3) --- Based on fields

《KMP复习 + AC自动机》前传

Data analysis: disassembly method (details)
![[BuildRelease Management]Parabuild](/img/80/11c2b539c217ecd6ba55668d3e71e9.png)
[BuildRelease Management]Parabuild

How to smoothly go online after MySQL table splitting?

Database daily question --- day 22: last login

融云 IM & RTC 能力上新盘点
![[proteus simulation] 51 single chip microcomputer washing machine simulation control program](/img/a1/d4256a5e350078b791c0b5cd512fe3.png)
[proteus simulation] 51 single chip microcomputer washing machine simulation control program
![Jericho will make a popping sound when turning on, broadcasting a prompt tone, and turning off [chapter]](/img/e3/ea7278eb855cca2a1af4f96772bcb1.png)
Jericho will make a popping sound when turning on, broadcasting a prompt tone, and turning off [chapter]

函数相关知识
随机推荐
0-1背包问题
Recommended system - indicators: CTR, CVR
Interface test practical project 02: read interface test documents and practice
立即报名 | 云原生技术交流 Meetup 广州站已开启,8 月 6 号与你相遇!
MySQL limit usage and large paging problem solving
Uniapp display rich text effect demo (organize)
Rongyun IM & RTC capabilities on new sites
[CruiseControl]Build Result JSP
Redis transaction and optimistic lock
Srv6 debut
怎么清晰地理解、表达 IaaS 、 PaaS 、 SaaS ?
Multithreading & high concurrency (the latest in the whole network: interview questions + map + Notes) the interviewer is calm
The most detailed summary of common English terms in the chip industry (quick grasp of graphics and text)
Postman download and use tutorial
592. Fraction addition and subtraction: introduction to expression calculation
推荐系统-模型:wide&deep 模型
LeetCode_ Bit operation_ Medium_ 137. Number II that appears only once
Recurrence of fastjson historical vulnerabilities
Volkswagen China invested 8billion yuan and became the largest shareholder of GuoXuan high tech
IP address & subnet mask