select * from v$version; select * from product_component_version;
参考:
http://taichitech.blogspot.hk/2007/11/oracle.html
http://www.linuxidc.com/Linux/2011-03/33520.htm