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

边栏推荐
- web工程导入了mysql驱动jar包却无法加载到驱动的问题
- MPLS experiment
- Leetcode 186 Flip the word II in the string (2022.07.05)
- Use sentinel to interface locally
- Unity screen coordinates ugui coordinates world coordinates conversion between three coordinate systems
- Distributed transaction solution
- Three.js学习-光照和阴影(了解向)
- Raspberry pie 3.5-inch white screen display connection
- Collection + interview questions
- ISP学习(2)
猜你喜欢

Principle and performance analysis of lepton lossless compression

Lepton 无损压缩原理及性能分析

图论的扩展

SQL注入漏洞(MSSQL注入)

Sqlserver query results are not displayed in tabular form. How to modify them

RT thread analysis - object container implementation and function

Postman断言

RTP gb28181 document testing tool

SQL injection vulnerability (MSSQL injection)

Weng Kai C language third week 3.1 punch in
随机推荐
DMA use of stm32
也算是学习中的小总结
Project manager, can you draw prototypes? Does the project manager need to do product design?
[Yu Yue education] reference materials of complex variable function and integral transformation of Northwestern Polytechnic University
Platformio create libopencm3 + FreeRTOS project
[buuctf.reverse] 159_[watevrCTF 2019]Watshell
TCP three handshakes you need to know
关于imx8mp的es8316的芯片调试
Flody的应用
Introduction of several RS485 isolated communication schemes
[NOIP2008 提高组] 笨小猴
SQL injection vulnerability (MSSQL injection)
[buuctf.reverse] 159_ [watevrCTF 2019]Watshell
Principle and performance analysis of lepton lossless compression
Yolov5 tensorrt acceleration
The underlying structure of five data types in redis
[noip2009 popularization group] score line delimitation
Bill Gates posted his 18-year-old resume and expected an annual salary of $12000 48 years ago
ue5 小知识点 开启lumen的设置
How to estimate the population with samples? (mean, variance, standard deviation)