select * from v$version;

創(chuàng)新互聯(lián)建站專注于葉集網(wǎng)站建設服務及定制,我們擁有豐富的企業(yè)做網(wǎng)站經(jīng)驗。 熱誠為您提供葉集營銷型網(wǎng)站建設,葉集網(wǎng)站制作、葉集網(wǎng)頁設計、葉集網(wǎng)站官網(wǎng)定制、小程序定制開發(fā)服務,打造葉集網(wǎng)絡公司原創(chuàng)品牌,更為您提供葉集網(wǎng)站排名全網(wǎng)營銷落地服務。
或者使用sqlplus命令登陸數(shù)據(jù)庫,如果是64位的,顯示如下:
對oracle服務器端的位數(shù)非常好判斷,只需要連接成功sqlplus就可以很明顯的看到oracle服務端的位數(shù)。
客戶端判斷的話:
使用tnsping的方法來查看
這里就是32位的了
1、打開xp系統(tǒng)開始菜單,找到“我的電腦”,右鍵“我的電腦”選擇屬性;
2、在打開的“系統(tǒng)屬性”窗口中,如果系統(tǒng)下面顯示有“x64 Edition”字體,那么您當前XP系統(tǒng)即為64位,否則就是32位的XP系統(tǒng)。
查看windows xp系統(tǒng)32位還是64位的方法二:
1、單擊XP開始菜單,找到并打開“運行”;
2、在運行窗口中輸入“winmsd.exe”并回車即打開“系統(tǒng)信息”窗口;
3、在 “系統(tǒng)信息”窗口中查看系統(tǒng)類型,如果顯示基于x86的PC就是32位的XP系統(tǒng),如果是64字樣的,就是64位的XP系統(tǒng)。
主要有以下幾種方法可以用來確定Oracle的位數(shù):
1.通過SQLPLUS登錄即可看出
a.64位登錄時就有顯示
$ sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.4.0 - Production on Wed Nov 16 15:27:28 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.4.0 - Production
b.32位的無顯示
[oracle@jumper oracle]$ sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.4.0 - Production on Wed Nov 16 15:19:03 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning option
JServer Release 9.2.0.4.0 - Production
c.從v$version獲取
SQL select * from v$version;
BANNER
------------------------------------------------------------
Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
PL/SQL Release 9.2.0.6.0 - Production
CORE 9.2.0.6.0 Production
TNS for 32-bit Windows: Version 9.2.0.6.0 - Production
NLSRTL Version 9.2.0.6.0 - Production
2.從v$sql視圖獲取
a.如果輸出為8位16進制數(shù),則為32位Oracle
SQL select address from v$sql where rownum2;
ADDRESS
--------
578428D8
b.如果輸出為16位16進制數(shù),則為64位Oracle
SQL select address from v$sql where rownum2;
ADDRESS
----------------
000000040DFA01E0
3.使用系統(tǒng)命令file
a.如果輸出帶有32-bit字樣為32位Oracle
[oracle@jumper oracle]$ file $ORACLE_HOME/bin/oracle
/opt/oracle/product/9.2.0/bin/oracle: setuid setgid ELF 32-bit LSB executable, Intel 80386..
b.如果輸出帶有64-bit字樣為64位Oracle
$ file $ORACLE_HOME/bin/oracle
/opt/oracle/product/9.2.0/bin/oracle: ELF 64-bit MSB executable SPARCV9 Version 1 ..
查看oracle的版本信息
(1)用客戶端連接到數(shù)據(jù)庫,執(zhí)行select * from v$instance 查看version項
(2)select * from product_component_version
網(wǎng)站名稱:oracle怎么查看位數(shù),如何查看oracle是多少位的
路徑分享:http://chinadenli.net/article4/dsesioe.html
成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站收錄、關(guān)鍵詞優(yōu)化、標簽優(yōu)化、網(wǎng)站排名、網(wǎng)站制作、響應式網(wǎng)站
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)