OracleSYS用戶無法設(shè)置session級別的readonly

官方文檔參考:
SYSDBA is used internally in the Oracle database and has specialized functions. Its behavior is not the same as for generalized users. For example, the SYS user cannot do a transaction level consistent read (read-only transaction). Queries by SYS will return changes made during the transaction even if SYS has set the transaction to be READ ONLY.  Therefore export parameters like CONSISTENT, OBJECT_CONSISTENT, FLASHBACK_SCN, and FLASHBACK_TIME cannot be used.

進行Oracle事務(wù)相關(guān)的實驗時,要盡量使用普通用戶,因為很多事務(wù)級別的設(shè)置,對于sqlplus / as sysdba連入方式無法獲得正確的結(jié)果。
如果想給用戶獲取數(shù)據(jù)字典以方便實驗的目的可給用戶賦予如下權(quán)限:
GRANT CONNECT,RESOURCE,SELECT ANY DICTIONARY,SELECT ANY TABLE TO TUSER;



參考:How To Connect As SYSDBA When Using Export Or Import (文檔 ID 277237.1)

當(dāng)前名稱:OracleSYS用戶無法設(shè)置session級別的readonly
本文來源:http://bm7419.com/article24/iihije.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站營銷、品牌網(wǎng)站設(shè)計電子商務(wù)、網(wǎng)站導(dǎo)航網(wǎng)頁設(shè)計公司、微信公眾號

廣告

聲明:本網(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)

成都seo排名網(wǎng)站優(yōu)化