Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grant by SYS user Windows environment 1

Status
Not open for further replies.

mdlaugh1

Technical User
Jan 17, 2006
76
US
I need to grant Select on various system tables (dba_tables, dba_indexes, dba_segments...) and the instructions state it must be granted by SYS. I have logged in to SQLPlus (windows) as a user with DBA authority. How do I connect as SYS? We use Oracle 9i Release 9.2.0.6.0 on Windows 2003 server.
 

Just grant SELECT ANY DICTIONARY privilege. [noevil]


----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
PS:

connect SYS/password AS SYSDBA


----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
Please bear with me.. new to Oracle... I've logged into the Windows SQlPlus dialog box as a DBA user. I get the following: (substituting our actual SYS password)

SQL> connect sys/password as sysdba;
ERROR:
ORA-12560: TNS:protocol adapter error

Warning: You are no longer connected to ORACLE.
 

Try adding the oracle sid:

connect sys/password@MySID as sysdba;



----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top