Basic Oracle Concepts and Programming Question:

Download Job Interview Questions and Answers PDF

How To Connect to the Server with User Account: SYS?

Oracle Database Interview Question
Oracle Database Interview Question

Answer:

SYS is a very special user account. It has been associated with the highest privilege call SYSDBA. Normally, you should not connect to the server with SYS. But if you want to use it, you need to use a special connect command:

>cd (OracleXE home directory)
>.insqlplus /nolog

SQL> connect SYS/globalguideline AS SYSDBA
Connected.

SQL> quit

Note that the "/nolog" option is used to start SQL*Plus without login immediately. A special form of the "connect" command is used to include the user name, password, and the privilege in the same line.

You can not log in with SYS without SYSDBA privilege.

Download Oracle Database Interview Questions And Answers PDF

Previous QuestionNext Question
What Are Internal User Account in Oracle?How To Use Windows User to Connect to the Server?