LoginSignup
4
8

More than 5 years have passed since last update.

sqlplusで接続情報などを確認する方法 (def)

Last updated at Posted at 2016-09-05

内容

sqlplusで接続にdefと入力すると、SIDやユーザなどを確認できる。

確認

▼コマンド

SQL> def

▼結果

DEFINE _DATE           = "16-09-06" (CHAR)
DEFINE _CONNECT_IDENTIFIER = "##SID##" (CHAR)
DEFINE _USER           = "SYS" (CHAR)
DEFINE _PRIVILEGE      = "AS SYSDBA" (CHAR)
DEFINE _SQLPLUS_RELEASE = "1201000200" (CHAR)
DEFINE _EDITOR         = "ed" (CHAR)
DEFINE _O_VERSION      = "Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics, Real Application Testing
and Unified Auditing options" (CHAR)
DEFINE _O_RELEASE      = "1201000200" (CHAR)

4
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
8