Categories: SQL Tutorials

How to connect to oracle database using sql developer

In my previous article i have already given the difference between the Oracle anonymous block and subprogram with real life examples. In this article I would like to give you steps to connect to oracle database using SQL server with example.The Oracle SQL developer is the tool which will easily connect to Oracle with using tnsnames.ora or other systems. In this article i would like to throw light on How to connect to oracle database using sql developer with real example.

Steps to connect to oracle database :

Step 1 :

Start oracle SQL developer

For more instructions you can check : Oracle Database SQL Developer User’s Guide.

Step 2 : Important instruction if you are opening Oracle SQL developer first time.

If this is the first time you have started SQL Developer on your system, you are prompted to enter the full path to java.exe (for example, C:\Program Files\Java\jdk1.6.0_021\bin\java.exe). Either type the full path after the prompt or browse to it, and then press the key Enter.

Step 3 : Go to connections frame and click to add new connection

In the New/Select Database Connection window:

§Type the appropriate values in the fields Connection Name, Username, and Password.

§For security, the password characters that you type appear as asterisks. §Near the Password field is the check box Save Password. By default, it is deselected. Oracle recommends accepting the default.

§If the Oracle pane is not showing, click the tab Oracle. §In the Oracle pane, accept the default values.

§(The default values are: Connection Type, Basic; Role, default, Hostname, localhost; Port, 1521; SID option, selected; SID field, xe.)

§Click the button Test.

§The connection is tested. If the connection succeeds, the Status indicator changes from blank to Success.

§If the test succeeded, click the button Connect.

§The New/Select Database Connection window closes. The Connections frame shows the connection whose name you entered in the Connection Name field in step 3.

You are in the SQL Developer environment.

To exit SQL Developer, select Exit from the File menu.

Connect to Oracle database using SQL PLUS :

Step 1 : If you are on a Windows system, display a Windows command prompt.

Step 2 : At the command prompt, type sqlplus and then press the key Enter.

Step 3 : At the user name prompt, type your user name and then press the key Enter.

Step 4: At the password prompt, type your password and then press the key Enter.

These are steps to connect to oracle database using SQL developer. I hope you like this article. If you like this article or if you have any issues with the same kindly comment in comments section.

Amit S

Oracle Consultant with vast experience in Oracle BI and PL/SQL Development. Amiet is the admin head of this website who contributes by preparing tutorials and articles related to database technologies. He is responsible to manage the content and front-end of the website.

Recent Posts

What is Root Cause Analysis (RCA) With real examples

In my previous article I have given details about application support engineer day to day…

4 weeks ago

Application Support Engineer Day to day responsibilities

In my previous articles I have given the roles and responsibilities of L1,L2 and L3…

4 weeks ago

What is mean by SLA ( Service Level Agreement) with Examples?

In my previous articles i have given the hierarchy of production support in real company…

1 month ago

What is Production support Hierarchy in organization?

In this article i would like to provide information about production support organization structure or…

1 month ago

What are roles and responsibilities for L3 Support Engineer?

In my previous article I have given roles for L1 and L2 support engineer with…

1 month ago

What are roles and responsibilities of L2 Engineer?

I have started this new series of how to become application support engineer. This article…

1 month ago