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?

Community
  • 1
  • 1
Pavel
  • 138
  • 2
  • 4
  • 16

1 Answers1

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.

Frank Schmitt
  • 30,195
  • 12
  • 73
  • 107
  • 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. – neshkeev Jul 30 '14 at 12:35