Obtaining Hostname, Port, and SID for SQL Developer via SQL
Last updated on OCTOBER 27, 2016
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
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms