Oracleのバージョン確認方法
1.Oracle sqlplusのログインでバージョン確認(Oracleサーバー)
sqlplusでOracleへ接続時にサーバーのバージョンが表示されます
>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.
>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クライアント)
>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のバージョン確認
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