Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error: PL/SQL: ORA-00942: table or view does not exist

Tony007Oct 26 2015 — edited Oct 27 2015

hi am having this error in my procedure ,but when I test the table in my is working ok but when I put in procedure is giving this error

example

am getting error in sql like this,when I type hr. it even   suggest/show the table exist but when I compile is giving error

select emname into p_employee from hr.employee

its ok when I run like this in my sql*plus

select emname from hr.employee

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 24 2015
Added on Oct 26 2015
9 comments
1,713 views