- 论坛徽章:
- 0
|
回复 4# ulovko
这是查询oracle版本信息
su - oracle -c "echo 'select * from v\$version ;' | sqlplus / as sysdba"
执行完此命令后将输出版本信息
SQL>
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
PL/SQL Release 11.1.0.7.0 - Production
CORE 11.1.0.7.0 Production
TNS for Linux: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production
SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
我想获取已输入的这一行版本信息Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
|
|