1. 通过实例查询
select * from v$instance;
2.通过版本视图查询
select * from v$version;
3.通过id_code查询
select id_code;