当前位置:网站首页>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

边栏推荐
- 8. Static file
- JS quick start (II)
- 关于Unity Inspector上的一些常用技巧,一般用于编辑器扩展或者其他
- MySQL reported an error datetime (0) null
- Delete subsequence < daily question >
- Luogu deep foundation part 1 Introduction to language Chapter 2 sequential structure programming
- Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example
- 力扣(LeetCode)186. 翻转字符串里的单词 II(2022.07.05)
- Postman assertion
- 图论的扩展
猜你喜欢
![[detailed steps of FreeRTOS shift value for the first time]](/img/73/a469eb2465bb2c5acaa4d018d3edd3.jpg)
[detailed steps of FreeRTOS shift value for the first time]

Yolov5 tensorrt acceleration

Crazy God said redis notes
![[mathematical modeling] differential equation -- sustainable development of fishing industry](/img/7c/2ab6f2a34bc2c97318537ec8e0b0c5.png)
[mathematical modeling] differential equation -- sustainable development of fishing industry

Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example

Orm-f & Q object

麥斯克電子IPO被終止:曾擬募資8億 河南資產是股東

IPv6 comprehensive experiment

RT thread analysis - object container implementation and function

Unity screen coordinates ugui coordinates world coordinates conversion between three coordinate systems
随机推荐
Postman pre script - global variables and environment variables
[buuctf.reverse] 159_ [watevrCTF 2019]Watshell
项目经理,你会画原型嘛?项目经理需要做产品设计了?
ORM aggregate query and native database operation
Redis 排查大 key 的4种方法,优化必备
Set detailed map + interview questions
Leetcode dynamic planning day 16
Sorting out the knowledge points of multicast and broadcasting
A little knowledge of CPU, disk and memory
关于imx8mp的es8316的芯片调试
Basic knowledge and examples of binary tree
Finance online homework
Visio draws Tai Chi
How to estimate the population with samples? (mean, variance, standard deviation)
驱动开发——第一个HelloDDK
Yolov5 tensorrt acceleration
Collection + interview questions
Pagoda configuration mongodb
L'introduction en bourse de MSK Electronics a pris fin: 800 millions de RMB d'actifs de Henan étaient des actionnaires
Biscuits (examination version)