资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

oracle怎么查看版本,如何查看Oracle版本

如何查看Oracle客户端版本及位数

一、查看oracle客户端版本:sqlplus -v

创新互联建站成立与2013年,是专业互联网技术服务公司,拥有项目做网站、网站制作网站策划,项目实施与项目整合能力。我们以让每一个梦想脱颖而出为使命,1280元德城做网站,已为上家服务,为德城各地企业和个人服务,联系电话:13518219792

二、查看oracle客户端版本是32bit还是64bit:

方法一:

Step 1:运行sqlplus /nolog命令,如果你服务器安装了多个客户端版本,那么你应该进入对应安装目录的BIN目录后,运行该命令

C:\Users\Mr.Brucesqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on 星期一 8月 8 16:06:05 2016

Copyright (c) 1982, 2010, Oracle. All rights reserved.

SQL

Step 2:打开任务管理器,找到SQL*Plus进程,如果Oracle的客户端为32位,则在Image Name会标记为*32

Windows Server 2008 Oracle 32bit Client

clip_image002

Windows Server 2008 Oracle 64bit Client

clip_image003

方法二:

在%ORACLE_HOME%\inventory\ContentsXML目录下面找到comps.xml文件,例如我目前的测试服务器上路径为F:\Win10\app\Mr.Bruce\product\11.2.0\client_1\inventory\ContentsXML

如果PLAT="NT_AMD64"表示安装的是64位的Oracle 客户端,如果PLAT="NT_X86"则表示安装的是32位的Oracle客户端。

方法三:

select * from v$version;

select address from v$sql where rownum 2;

如何查看Oracle客户端版本

查看Oracle客户端版本:在cmd中输入sqplus -v

2.查看Oracle客户端位数:

找到安装目录下 F:\99740\product\11.2.0\dbhome_1\inventory\ContentsXML 的comps.xml文件,如果PLAT="NT_AMD64"表示安装的是64位的Oracle 客户端,如果PLAT="NT_X86"则表示安装的是32位的Oracle客户端。

oracle怎么查看数据库版本

方法一:v$version

SQL select * from v$version;

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

方法二:product_component_version

SQL select * from product_component_version;

PRODUCT VERSION STATUS

---------------------------------------------------------------------------------------------

NLSRTL 11.1.0.7.0 Production

Oracle Database 11g Enterprise Edition 11.1.0.7.0 64bit Production

PL/SQL 11.1.0.7.0 Production

TNS for Linux: 11.1.0.7.0 Production

SQL

方法三:dbms_output.put_line( dbms_db_version.version )

SQL SET SERVEROUTPUT ON

SQL EXEC dbms_output.put_line( dbms_db_version.version );

11

PL/SQL procedure successfully completed.

SQL

Oracle Database History

Since version 5, Oracle\'s RDBMS release numbering has used the following codes:

Oracle v5

Oracle v6

Oracle7: 7.0.16–7.3.4

Oracle8 Database: 8.0.3–8.0.6

Oracle8i Database Release 1: 8.1.5.0–8.1.5.1

Oracle8i Database Release 2: 8.1.6.0–8.1.6.3

Oracle8i Database Release 3: 8.1.7.0–8.1.7.4

Oracle9i Database Release 1: 9.0.1.0–9.0.1.5 (patchset as of December 2003)

Oracle9i Database Release 2: 9.2.0.1–9.2.0.8 (patchset as of April 2007)

Oracle Database 10g Release 1: 10.1.0.2–10.1.0.5 (patchset as of February 2006)

Oracle Database 10g Release 2: 10.2.0.1–10.2.0.5 (patchset as of April 2010)

Oracle Database 11g Release 1: 11.1.0.6–11.1.0.7 (patchset as of September 2008)

Oracle Database 11g Release 2: 11.2.0.1–11.2.0.3 (patchset as of September 2011)

The version-numbering syntax within each release follows the pattern: major.maintenance.application-server.component-specific.platform-specific.

For example, "10.2.0.1 for 64-bit Solaris" means: 10th major version of Oracle, maintenance level 2, Oracle Application Server (OracleAS) 0, level 1 for Solaris 64-bit.

另外,Fenng之前做了一个关于数据库版本使用情况的调查,从图中可以看出现阶段中国地区,使用10gR2版本的仍是绝大多数。

怎么查看oracle版本

select * from v$version;

或select banner from sys.v_$version;

结果如下:

BANNER

1 Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod

2 PL/SQL Release 10.2.0.1.0 - Production

3 CORE 10.2.0.1.0 Production

4 TNS for 32-bit Windows: Version 10.2.0.1.0 - Production

5 NLSRTL Version 10.2.0.1.0 - Production

例如:Oracle 9.0.1.1.2

9:版本号

0:新特性版本号

1(第一个):维护版本号

1(第二个):普通的补丁设置号码

2:非凡的平台补丁设置号码

Oracle 的版本号很多,先看11g的一个版本号说明:

注意: 

在oracle 9.2 版本之后, oracle 的maintenance release number 是在第二数字位更改。 而在之前,是在第三个数字位。

1. Major Database Release Number

第一个数字位,它代表的是一个新版本软件,也标志着一些新的功能。如11g,10g。

2. Database Maintenance Release Number

第二个数字位,代表一个maintenance release 级别,也可能包含一些新的特性。

3. Fusion Middleware Release Number

第三个数字位,反应Oracle 中间件(Oracle Fusion Middleware)的版本号。

4. Component-Specific Release Number

第四个数字位,主要是针对组件的发布级别。不同的组件具有不同的号码。 比如Oracle 的patch包。

5. Platform-Specific Release Number

第五个数字位,这个数字位标识一个平台的版本。 通常表示patch 号。

6. 如何查看版本信息:

(1) 查看v$version

SQL select * from v$version;

BANNER

----------------------------------------------------------------

Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod

PL/SQL Release 10.2.0.4.0 - Production

CORE 10.2.0.4.0 Production

TNS for Linux: Version 10.2.0.4.0 - Production

NLSRTL Version 10.2.0.4.0 - Production

如何查看Oracle版本信息

以前查Oracle的版本信息,只知道一种方法,就是用v$versions视图,如下:

SQL select * from v$version;

BANNER

----------------------------------------------------------------

Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production

PL/SQL Release 9.2.0.1.0 - Production

CORE 9.2.0.1.0 Production

TNS for 32-bit Windows: Version 9.2.0.1.0 - Production

NLSRTL Version 9.2.0.1.0 - Production

今天在上又学到一种方法:query the data dictionary view PRODUCT_COMPONENT_VERSION,如下:

SQL col product format a35

SQL col version format a15

SQL col status format a15

SQL select * from PRODUCT_COMPONENT_VERSION;

PRODUCT   VERSION STATUS

-----------------------------------  --------------- ---------------

NLSRTL  9.2.0.1.0 Production

Oracle9i Enterprise Edition 9.2.0.1.0 Production

PL/SQL   9.2.0.1.0 Production

TNS for 32-bit Windows: 9.2.0.1.0 Production

如何查看oracle数据库版本

1、在桌面上找到 计算机,右键管理,点击服务和应用程序,双击服务,找到oracle的四个服务,这里我们只需要启动两个即可。如图

2、点击电脑左下角的开始--运行,输入sqlplus,回车。

3、出现命令窗口,

4、用户名填写scott 回车,密码填写scott,等待几秒。

5、以上就是成功连接上Oracle数据库。

6、执行select * from v$version ,就会出现如图。完成效果图。


网站标题:oracle怎么查看版本,如何查看Oracle版本
浏览地址:http://cdkjz.cn/article/heeoce.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

业务热线:400-028-6601 / 大客户专线   成都:13518219792   座机:028-86922220