Did you recognize that the login messages displayed when you start SQL*Plus in Oracle Database 12.2.0.1 looks different than in releases before?
SQL*Plus banner in Oracle Database 12.2.0.1:
$ sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Tue May 2 11:23:10 2017
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
SQL>
SQL*Plus banner in Oracle Database 12.1.0.2 and before:
$ sqlplus / as sysdba SQL*Plus: Release 12.1.0.2.0 Production on Tue May 2 11:24:15 2017 Copyright (c) 1982, 2014, Oracle. All rights reserved. Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options SQL>
This change got introduced as a fix for BUG 22347514 (unpublished) with Oracle Database 12.2.0.1 (thanks to Roderick Manalac for letting me know).
Workaround is to query V$OPTION
instead.
–Mike