Henry Ii
Henry Ii

Reputation: 17

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". I checked grant and all, its same for all table. But for some reason it complains abtout this particular table. But if I run the same query in sql plus it works completely fine. Can someone tell me what may be the reason behind it. Thank you

Upvotes: 0

Views: 2430

Answers (1)

michael667
michael667

Reputation: 3260

I suspect you are using a different user from sqlplus than from your Java program, and then the error is caused by a missing synonym/schema name.

Upvotes: 5

Related Questions