Solved

dba_users view

Posted on 2006-06-21
11
2,305 Views
Last Modified: 2012-05-05
Hi

When I tried this query--->desc dba_users or select username from dba_users;
I am getting this message___->ERROR:
ORA-04043: object dba_users does not exist


It used to work before but all of a sudden I got this error.

Any help would be appreciated to resolve this.

thanks in advance.
0
Comment
Question by:Smruti1
  • 3
  • 2
  • 2
  • +3
11 Comments
 
LVL 23

Expert Comment

by:paquicuba
ID: 16956063
Are you connected as SYSTEM, SYS or have DBA role?
0
 
LVL 14

Expert Comment

by:sathyagiri
ID: 16956119
Your DBA probably revoked your grant on the dba_ tables. Ask your DBA to assign the view catalog role to you.Then you shd be to access the dba_ views
0
 
LVL 11

Expert Comment

by:mohammadzahid
ID: 16956334
You can find out privileges currently enabled by running a query against SESSION_PRIVS view. This view will help you to determine exactly which privileges are currently enabled. And, you don't need DBA privileges to query this view.

0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:Smruti1
ID: 16959514
Thanks to all for quick response.

I am connected as a  sysdba. I am the only one who is working as an Oracle DBA.

Thnaks in advance.
0
 
LVL 14

Expert Comment

by:sathyagiri
ID: 16961076
Are you able to view any other DBA_ views at all?
0
 

Author Comment

by:Smruti1
ID: 16961206
Thanks satyagiri.

Yes, but not dba_users and dba_profiles.

Thanks in advance.
0
 
LVL 19

Accepted Solution

by:
actonwang earned 500 total points
ID: 16961917
you might lost this view by accident, try to run the following  script to restore it:

@<oracle_home>/rdbms/admin/catalog.sql
0
 

Author Comment

by:Smruti1
ID: 16962075
Thank you very much actonwang.

I ran catalog.sql script and now I am able to see dba_users view.


0
 
LVL 19

Expert Comment

by:actonwang
ID: 16962165
COOL!
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20294455
Forced accept.

Computer101
EE Admin
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Getting a return value from an IN OUT parameter in Oracle? 7 51
Oracle Next Available Number 2 41
How to free up undo space? 3 39
Require data to appear on a single line 2 39
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question