oracle ora-00980
时间: 2023-08-04 20:03:46 浏览: 114
oracle
回答: Oracle ORA-00980错误是由于在SQL语句中使用了错误的语法或语句结构导致的。根据引用\[1\]的例子,错误的SQL语句使用了错误的语法,set后面的字段不能使用'and'连接。正确的语法应该是使用逗号分隔字段,例如:update table1 set 字段1 = "值1", 字段2 = "值2" where id = 1 and numNo = "001"。另外,根据引用\[2\]的代码,可以通过查询dba_synonyms表来查找所有失效的同义词,并生成删除脚本。最后,根据引用\[3\]的建议,可以查询dba_objects和dba_users表来查看是否存在与命名空间重叠的其他对象或模式。
#### 引用[.reference_title]
- *1* [报错:oracle ORA-00913和oracle ORA-00933](https://blog.csdn.net/SUMMERENT/article/details/124153424)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [ORacle异常:ORA-00980:同义词转换不再有效](https://blog.csdn.net/MaYuLeMMM/article/details/126489433)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [ORA-00980如何解决](https://blog.csdn.net/weixin_29924243/article/details/116411451)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文