show parameter db_name - Table or view does not exist [message #228484] |
Tue, 03 April 2007 03:40 |
smora
Messages: 59 Registered: May 2006
|
Member |
|
|
Hi
Im running Oracle 10g on live and dev.
On dev:
I created the database
Created a user 'x'
Granted all privileges to 'x'
When I logged in as the user 'x' and tried to run 'show parameter db_name' it gave me an error saying 'Table or view does not exist'. However, running the command as sysdba gave the correct value for db_name.
I then did a full export from live to dev, and after the import on dev i am able to see the db_name while logged in as 'x'.
My questions are: What changed during the export to allow me to see the paramters? Can i set it manually?
Thanks
smora
|
|
|
|
|
Re: show parameter db_name - Table or view does not exist [message #228604 is a reply to message #228519] |
Tue, 03 April 2007 08:08 |
Mohammad Taj
Messages: 2412 Registered: September 2006 Location: Dubai, UAE
|
Senior Member |
|
|
Hi,
'select any dictionary'
You should grant manually or grant DBA privs.
"ALL" privs is object level privs.
and "select any dictionary" is system privs.
SQL> create user od identified by od;
User created.
SQL> grant all privileges to od;
Grant succeeded.
SQL> conn od/od
Connected.
SQL> select privilege
2 from session_privs
3 where privilege = 'SELECT ANY DICTIONARY';
no rows selected
|
|
|