当前位置:网站首页>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
边栏推荐
- Simple understanding of interpreters and compilers
- Biscuits (examination version)
- 二叉树基本知识和例题
- The video in win10 computer system does not display thumbnails
- What are the advantages of the industry private network over the public network? What specific requirements can be met?
- 關於Unity Inspector上的一些常用技巧,一般用於編輯器擴展或者其他
- 团队协作出了问题,项目经理怎么办?
- Sqlserver query results are not displayed in tabular form. How to modify them
- 树莓派3.5寸屏幕白屏显示连接
- GAMES202-WebGL中shader的編譯和連接(了解向)
猜你喜欢
Digital children < daily question> (Digital DP)
Basic knowledge and examples of binary tree
RTP GB28181 文件测试工具
GAMES202-WebGL中shader的編譯和連接(了解向)
11. Intranet penetration and automatic refresh
Codeforces Round #804 (Div. 2)
Why does MySQL need two-phase commit
二叉树基本知识和例题
Extension of graph theory
Acwing week 58
随机推荐
Flody的应用
Redis 排查大 key 的4種方法,優化必備
Why does MySQL need two-phase commit
idea一键导包
Project manager, can you draw prototypes? Does the project manager need to do product design?
内核判断i2c地址上是否挂载外设
Quatre méthodes de redis pour dépanner les grandes clés sont nécessaires pour optimiser
ue5 小知识点 开启lumen的设置
Sorting out the knowledge points of multicast and broadcasting
A blog to achieve embedded entry
Finance online homework
ORM aggregate query and native database operation
[try to hack] John hash cracking tool
[classic example] binary tree recursive structure classic topic collection @ binary tree
How to estimate the population with samples? (mean, variance, standard deviation)
饼干(考试版)
Postman测试报告
2021RoboCom机器人开发者大赛(初赛)
[lgr-109] Luogu may race II & windy round 6
Postman manage test cases