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!

procedure error due to select data from v$database

user10447332Jun 6 2009 — edited Jun 6 2009
CREATE OR REPLACE procedure jaya is
a number;
begin
select dbid into a from v$database;
dbms_output.put_line(a);


end;
/

error

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

how to solve this
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 4 2009
Added on Jun 6 2009
5 comments
782 views