

When user first time logs in to database, he or she will be logged in to the container database. The container database is the key database of Oracle. Before we start, we must need to know that there are container database and pluggable databases in oracle. How to connect to Oracle database using sys user? I would like to give you multiple examples of the how to connect to Oracle database using sys user. In this article I would like to give you the answer of the important question. In my previous article I have given multiple SQL queries. close(): After all done it is mandatory to close all operations.Ĭon.close() Execution of SQL statement: 1.How to connect to Oracle database using Sys user?.fetchall() : This method is used to fetch all rows from the result set.fetchmany(int): This method is used to fetch a limited number of rows based on the argument passed in it.fetchone() : This method is used to fetch one single row from the top of the result set.



