当前位置:网站首页>Ora-01779: the column corresponding to the non key value saving table cannot be modified
Ora-01779: the column corresponding to the non key value saving table cannot be modified
2022-07-06 04:57:00 【Terence-Wang】
Problem description
Error reporting -
SQL error : ORA-01779: The column corresponding to the non key value saving table cannot be modified
01779. 00000 - "cannot modify a column which maps to a non key-preserved table"
*Cause: An attempt was made to insert or update columns of a join view which
map to a non-key-preserved table.
*Action: Modify the underlying base tables directly.
This error is caused by , Used to update demo_t1 Of demo_t2 surface id Is not the only , Cause the object to be updated test1 A line in may correspond to test2 Many lines in , such oracle I don't know how to update
for example demo_t1 in fname A fmoney '20' Possible corresponding demo_t2 in fname A fmoney '100', ifname A fmoney '200' this 2 Data , Therefore, it is impossible to update .
terms of settlement
Delete duplicate data to demo_t2 Add a primary key
ALTER TABLE DEMO_T2 ADD PRIMARY KEY(FNAME);
Try it again , The update is successful
边栏推荐
- [NOIP2008 提高组] 笨小猴
- IPv6 comprehensive experiment
- Principle and performance analysis of lepton lossless compression
- Microservice resource address
- Nestjs配置文件上传, 配置中间件以及管道的使用
- Raspberry pie 3.5-inch white screen display connection
- The IPO of mesk Electronics was terminated: Henan assets, which was once intended to raise 800 million yuan, was a shareholder
- A blog to achieve embedded entry
- Introduction of several RS485 isolated communication schemes
- 最高法院,离婚案件判决标准
猜你喜欢
Flody的应用
SQL注入漏洞(MSSQL注入)
[lgr-109] Luogu may race II & windy round 6
DMA use of stm32
Introduction of several RS485 isolated communication schemes
L'introduction en bourse de MSK Electronics a pris fin: 800 millions de RMB d'actifs de Henan étaient des actionnaires
【LGR-109】洛谷 5 月月赛 II & Windy Round 6
Pagoda configuration mongodb
GAMES202-WebGL中shader的编译和连接(了解向)
Embedded development program framework
随机推荐
集合详解之 Collection + 面试题
Bubble sort
Postman前置脚本-全局变量和环境变量
Unity screen coordinates ugui coordinates world coordinates conversion between three coordinate systems
Supreme Court, judgment standard of divorce cases
Biscuits (examination version)
Compilation et connexion de shader dans games202 - webgl (comprendre la direction)
[FreeRTOS interrupt experiment]
關於Unity Inspector上的一些常用技巧,一般用於編輯器擴展或者其他
[Chongqing Guangdong education] engineering fluid mechanics reference materials of southwestjiaotonguniversity
2021RoboCom机器人开发者大赛(初赛)
The underlying structure of five data types in redis
比尔·盖茨晒18岁个人简历,48年前期望年薪1.2万美元
Delete subsequence < daily question >
Raspberry pie 3.5-inch white screen display connection
ue5 小知识点 开启lumen的设置
团队协作出了问题,项目经理怎么办?
What are the advantages of the industry private network over the public network? What specific requirements can be met?
Excellent PM must experience these three levels of transformation!
RT thread analysis - object container implementation and function