当前位置:网站首页>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
边栏推荐
- [Chongqing Guangdong education] Suzhou University English film and Television Appreciation reference materials
- Three. JS learning - light and shadow (understanding)
- [Yu Yue education] reference materials of complex variable function and integral transformation of Northwestern Polytechnic University
- 饼干(考试版)
- [NOIP2008 提高组] 笨小猴
- 集合详解之 Collection + 面试题
- Raspberry pie 3.5-inch white screen display connection
- Embedded development program framework
- Codeforces Round #804 (Div. 2)
- 行业专网对比公网,优势在哪儿?能满足什么特定要求?
猜你喜欢
Postman管理测试用例
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
Microblogging hot search stock selection strategy
ISP学习(2)
[classic example] binary tree recursive structure classic topic collection @ binary tree
Programmers' position in the Internet industry | daily anecdotes
The underlying structure of five data types in redis
Postman assertion
麥斯克電子IPO被終止:曾擬募資8億 河南資產是股東
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
随机推荐
RT thread analysis - object container implementation and function
Compilation and connection of shader in games202 webgl (learn from)
Use sentinel to interface locally
Postman管理测试用例
Microservice resource address
The video in win10 computer system does not display thumbnails
GAMES202-WebGL中shader的编译和连接(了解向)
内核判断i2c地址上是否挂载外设
Visio draws Tai Chi
Quick sort
你需要知道的 TCP 三次握手
ISP学习(2)
也算是學習中的小總結
Fuzzy -- basic application method of AFL
[Chongqing Guangdong education] Suzhou University English film and Television Appreciation reference materials
A blog to achieve embedded entry
Digital children < daily question> (Digital DP)
Bubble sort
Flink kakfa data read and write to Hudi
Extension of graph theory