[英]ORA-00942: Table or view does not exist
I am passing a select query from java, it works for all table but one of the table gets an error "ora-00942 table or view does not exist". 我从Java传递了一个选择查询,它适用于所有表,但其中一个表收到错误消息“ ora-00942表或视图不存在”。 I checked grant and all, its same for all table. 我检查了Grant及其所有,所有表均相同。 But for some reason it complains abtout this particular table. 但是出于某种原因,它抱怨此特定表不正确。 But if I run the same query in sql plus it works completely fine. 但是,如果我在sql中运行相同的查询加上它完全可以正常工作。 Can someone tell me what may be the reason behind it. 有人可以告诉我背后的原因是什么。 Thank you 谢谢
我怀疑您使用的是来自sqlplus的用户,而不是使用Java程序的用户,然后该错误是由于缺少同义词/模式名称引起的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.