oracle查看PL-SQL 连接数据库信息

在 oracle安装目录:  %oracle%\NETWORK\ADMIN\下的 tnsnames.ora 文件中,

 

# tnsnames.ora Network Configuration File: D:\oracle\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

ORCL =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.217.3.2)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = ORCL)
    )
  )
 

 

: 连接主机为->  10.217.3.2

端口: 1521

服务名:  ORCL

 

你可能感兴趣的:(oracle,sql)