查看oracle的版本信息
$ sqlplus /nolog
SQL> connect /as sysdba;
Connected.
SQL> select * from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
11.2.0.1.0,11是主版本,11.2意思就是11R2,11g的第2个发行版(11g Release 2)