My Oracle Support Banner

Obtaining Hostname, Port, and SID for SQL Developer via SQL (Doc ID 760627.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle SQL Developer - Version 1.5 to 3.0 [Release 1.5.0 to 3]
Information in this document applies to any platform.
Checked for relevance on 11-Feb-2011
Checked for relevance on 25-Sep-2013


Goal

The goal of this document is to provide a method of obtaining the Hostname, Port, and SID in order to create a new connection in SQL Developer,

This SQL script is useful in the cases where the tnsnames.ora file cannot be easily located on the servers.

The details from the database tables can be used in defining the SQL Developer connection entry.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.