0

I am using oracle 10g express edition. I ran the command in sql command line and it says -- "ORA-00942: table or view does not exist"

PS: Trying to access and increase the number of processes. Cause I am facing this problem -- How to solve ORA-12516 error?

5
  • what user/schema do you use? Commented Jul 30, 2014 at 12:14
  • What do you mean by "user/schema" ? I have connected sqlcommand line to oracle using "connect username/password" Commented Jul 30, 2014 at 12:15
  • to perform DML/DDL/DCL statements you have to be connected to oracle as some user, for oracle user == schema, what user/schema did you use to connect to the DB? Commented Jul 30, 2014 at 12:33
  • I connected to oracle as a user. Commented Jul 30, 2014 at 12:50
  • Read This Fine Manual. You can't work with oracle only by taking advices from StackOverflow Commented Jul 30, 2014 at 13:01

1 Answer 1

3

You're probably running this command as a non-privileged user. show parameter is just a fancy wrapper for select ... from v$parameter. You need SELECT privileges on this view:

grant select on v_$parameter to <username>;

(please note the _ in the view name - you cannot directly grant privileges on v$ views, you have to grant privileges on the underlying objects instead).

Of course, the simplest approach is to run show parameter as a DBA user.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, man. I didn't know about the v_$parameter view. I tried to grant select on the v$parameter view but this view is a dynamic view.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.