㈠ 怎么查看oracle版本
select * from v$version
㈡ 如何查看Oracle客户端版本
方法一:
1.
打开orcale安装目录,如:D:\app\SSG\proct\11.2.0\dbhome_1
2.
11.2.0这个目录名就是版本
方法二:
使用sqlplus
-v命令。
㈢ 如何查看oracle数据库版本
1
首先进入sqlplus,cmd---plsql,登陆我们的用户,如图,建议用sysdba权限的账户登陆。
2
方法一:v$version
SQL> select * from v$version;
3
方法二:proct_component_version
SQL> select * from proct_component_version;
4
方法三:dbms_output.put_line( dbms_db_version.version )
SQL> SET SERVEROUTPUT ON
SQL> EXEC dbms_output.put_line( dbms_db_version.version );
㈣ 在oracle的sqlplus中,怎么写代码来查看当前所用的数据库系统的版本
刚登录上去的时候不就有提示吗?
比如
:
$
sqlplus
/nolog
SQL*Plus:
Release
10.2.0.1.0
-
Proction
on
Tue
Jul
5
10:22:08
2011
Copyright
(c)
1982,
2005,
Oracle.
All
rights
reserved.
SQL>
也可以查询v$version表。比如
SQL>
select
*
from
v$version;
BANNER
----------------------------------------------------------------
Oracle
Database
10g
Enterprise
Edition
Release
10.2.0.1.0
-
Prod
PL/SQL
Release
10.2.0.1.0
-
Proction
CORE
10.2.0.1.0
Proction
TNS
for
linux:
Version
10.2.0.1.0
-
Proction
NLSRTL
Version
10.2.0.1.0
-
Proction
㈤ 如何查看Oracle数据库版本
1、在桌面上找到 计算机,右键管理,点击服务和应用程序,双击服务,找到oracle的四个服务,这里我们只需要启动两个即可。如图
㈥ linux怎么查看oracle版本
[oracle@ceglnx01 bin]$ sqlplus -v
SQL*Plus: Release 10.2.0.4.0 - Proction
1:使用file命令查看32位还是64位客户端。
Oracle Client 32 bit
[oracle@db-server-01 ~]$ which sqlplus
/u01/app/oracle/proct/10.2.0/db_1/bin/sqlplus
[oracle@db-server-01 ~]$ file /u01/app/oracle/proct/10.2.0/db_1/bin/sqlplus
/u01/app/oracle/proct/10.2.0/db_1/bin/sqlplus: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
Oracle Client 64 bit
[oracle@db-server-02 ~]$ which sqlplus
/u01/app/oracle/proct/10.2.0/db_1/bin/sqlplus
[oracle@db-server-02 ~]$ file /u01/app/oracle/proct/10.2.0/db_1/bin/sqlplus
/u01/app/oracle/proct/10.2.0/db_1/bin/sqlplus: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
或者
Oracle Client 32 bit
[oracle@db-server-01 logs]$ cd /u01/app/oracle/proct/10.2.0/db_1/bin
[oracle@db-server-01 bin]$ file oracle
oracle: setuid setgid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
Oracle Client 64 bit
[oracle@db-server-02 ~]$ cd /u01/app/oracle/proct/10.2.0/db_1/bin
[oracle@db-server-02 bin]$ file oracle
oracle: setuid setgid ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
2: 通过查看$ORACLE_HOME下的lib或lib32目录,如果两个目录都存成,则为64位,如果只有lib目录.则为32位客户端。
[oracle@db-server-01 db_1]$ ls -d lib
lib
[oracle@db-server-01 db_1]$ ls -d lib*
lib lib32