检查已安装模块版本:
SELECT app.application_short_name, app.application_name, pi.patch_level
FROM fnd_product_installations pi, fnd_application_vl app
WHERE app.application_id = pi.application_id
检查已安装Patch:
SELECT * FROM ad_applied_patches WHERE patch_name = '2451368'。
查看多语言补丁
Oracle Patch 版本的查询 PL/SQL:
SELECT dd.patch_name,
pp.creation_date,
pp.driver_file_name,
lang.language
FROM ad_patch_drivers pp,
ad_applied_patches dd,
ad_patch_driver_langs lang
WHERE pp.applied_patch_id = dd.applied_patch_id
AND lang.patch_driver_id = pp.patch_driver_id
ORDER BY pp.creation_date;
要查看中英文补丁是否都打上了,可以利用以下查询:
select a.patch_driver_id,a.applied_patch_id,b.language
from applsys.ad_patch_drivers a, applsys.ad_patch_driver_langs b
where a.driver_file_name like '%888888%'
and a.patch_driver_id = b.patch_driver_id
select * from ad_bugs where bug_number=‘补丁号’
注意ad_bugs这个对象的SCHEMA是APPS
view plaincopy to clipboardprint?
1.SELECT * FROM ad_applied_patches app WHERE app.patch_name = '8819747';
2.--patch_name为安装的补丁名称,ad_applied_patches只保存安装应用后打上去的补丁,安装前的补丁保存在ad_bugs中
3.SELECT * FROM ad_bugs ab WHERE ab.bug_number = '8819747';
4.--bug_number为patch号,ad_bugs保存安装前的补丁保存在ad_bugs中,ad_bugs表中保存了patch修复的bug的记录
2)查看补丁是否已经装好
Form界面
使用命令:
view plaincopy to clipboardprint?
1.strings -a $AU_TOP/forms/US/GLXFCRVL.fmb|grep '$Header'
或者登陆到Form界面查看Form的版本是否已经改变
OAF界面
使用命令:
view plaincopy to clipboardprint?
1.1.进入class目录 $JAVA_TOP/oracle/oracle/apps/ce/forecast/cf/server
2.2.查看版本
3.strings -a ForecastAMImpl.class|grep '$Header'
登录到OAF界面,点击 About this Page ->Page 下查看JAVA程序包的版本号,同时可以查看在