How to see the database version?
January 9th, 2006 By Radoslav Rusinov
To view components and their versions, loaded into the database:
SELECT comp_name, status, version FROM dba_registry;
To view version numbers of core library components, including the database:
SELECT banner FROM v$version;
To display options that are installed (the value column is ‘FALSE’ if the option is not installed)
SELECT parameter, value FROM v$option;

January 20th, 2006 at 12:40 pm
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Beta
SQL> SELECT comp_name, status, version FROM dba_registry;
SELECT comp_name, status, version FROM dba_registry
*
ERROR at line 1:
ORA-00942: table or view does not exist
January 20th, 2006 at 12:43 pm
^^^
must log in as dba to SELECT on “dba_registry”
February 6th, 2006 at 10:47 am
Another way: