Oracleのバージョン確認方法

2021年10月25日

1.Oracle sqlplusのログインでバージョン確認(Oracleサーバー)
sqlplusでOracleへ接続時にサーバーのバージョンが表示されます

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
>sqlplus /nolog
SQL*Plus: Release 12.2.0.1.0 Production on 月 1025 10:06:37 2021
Copyright (c) 1982, 2016, Oracle. All rights reserved.
>sqlplus /nolog SQL*Plus: Release 12.2.0.1.0 Production on 月 10月 25 10:06:37 2021 Copyright (c) 1982, 2016, Oracle. All rights reserved.
>sqlplus /nolog

SQL*Plus: Release 12.2.0.1.0 Production on 月 10月 25 10:06:37 2021

Copyright (c) 1982, 2016, Oracle.  All rights reserved.

2.Oracleのバージョン確認方法(Oracleクライアント)

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
>sqlplus -v
SQL*Plus: Release 12.2.0.1.0 Production
>sqlplus -v SQL*Plus: Release 12.2.0.1.0 Production
>sqlplus -v

SQL*Plus: Release 12.2.0.1.0 Production

3.SQLでOracleのバージョン確認

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
SQL> select * from v$version
実行結果
BANNER                                                  
Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production
PL/SQL Release 12.2.0.1.0 - Production
CORE 12.2.0.1.0 Production
TNS for 64-bit Windows: Version 12.2.0.1.0 - Production
NLSRTL Version 12.2.0.1.0 - Production
SQL> select * from v$version 実行結果 BANNER                                                   Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production PL/SQL Release 12.2.0.1.0 - Production CORE 12.2.0.1.0 Production TNS for 64-bit Windows: Version 12.2.0.1.0 - Production NLSRTL Version 12.2.0.1.0 - Production
SQL> select * from v$version
実行結果
BANNER                                                  
Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production	
PL/SQL Release 12.2.0.1.0 - Production	
CORE	12.2.0.1.0	Production	
TNS for 64-bit Windows: Version 12.2.0.1.0 - Production	
NLSRTL Version 12.2.0.1.0 - Production

 

Oracle

Posted by arkgame