导航:首页 > 程序命令 > 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查看版本命令相关的资料

热点内容
轻量云服务器如何升级 浏览:831
电脑解压文字看不懂怎么回事 浏览:634
查看路由端口优先级命令 浏览:231
华为怎么把加密图片取出来 浏览:825
会计准则讲解pdf 浏览:315
程序员智商高情商低完整版 浏览:595
河南高清矩阵服务器云服务器 浏览:187
电脑怎么添加到服务器地址 浏览:685
phpcursor 浏览:644
python全局阈值分割 浏览:234
mysqllinux登录命令 浏览:438
qq相册双层加密 浏览:552
编程c语言输入n个平均值 浏览:9
本地电脑怎么把文件上传到服务器 浏览:775
windows98密码怎么加密 浏览:396
网页编程时如何打开网页 浏览:405
文明6怎么登入2k服务器 浏览:586
linux发行版命令 浏览:436
湘潭国企程序员招聘 浏览:27
目送pdf 浏览:361