导航:首页 > 程序命令 > oracle查看版本命令

oracle查看版本命令

发布时间:2022-06-03 00:27:03

㈠ 怎么查看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

阅读全文

与oracle查看版本命令相关的资料

热点内容
如何看自己的安卓是什么等级 浏览:633
被丁磊挖走的程序员 浏览:19
gsk980ta编程 浏览:507
单片机离线 浏览:84
解压助眠敲击外国长指甲 浏览:421
3次元编程 浏览:803
夫妻传送英文命令 浏览:316
程序员题代做 浏览:950
戴尔服务器怎么扩大内存 浏览:641
解压包密码消失 浏览:135
昆仑通态触摸屏用户窗加密 浏览:564
农信app怎么看日额 浏览:865
iphone备忘录包含视频无法加密 浏览:283
抖音快手红包源码 浏览:137
程序员资源分析 浏览:586
linux交换分区大小 浏览:922
mt怎么编译 浏览:337
qq邮箱打开pdf 浏览:461
云帆服务器异常 浏览:797
初三文件夹多少页够用 浏览:878