在oracle數(shù)據(jù)庫的機(jī)器上操作: 1.根據(jù)kb 193893, 在oracle里面建立兩個視圖,請使用sys賬號。 腳本的默認(rèn)路徑在:oracle/ora92/rdbms/admin/xaview 2.建立兩個視圖以后,需要給這兩個新建立的視圖添加public權(quán)限: sql>grant select on v$xatrans$ to public with grant option; sql>grant select on v$pending_xatrans$ to public with grant option; sql>grant select any table to public;