Oracle Ebs-sql (SYS-13): Queries the DBA for patching information in the system. SQL

Source: Internet
Author: User

Query DBA's patching information in the system

1. Select * FROM Ad_patch_drivers/* To see which patch*/have been hit

2. Select * FROM Ad_patch_runs/* View the time of patch, directory and other information * *

3. Select * FROM ad_patch_driver_langs/* View Patch language */

4. Query the patch name, language, start time of patch, Patch completion time:

SELECT driver.driver_file_name Patch Name,

Lang.language language,

To_char (run.start_date, ' Rrrr-mm-dd HH24:MI:SS ') Start time,

To_char (run.end_date, ' rrrr-mm-dd HH24:MI:SS ') Completion time

From Ad_patch_runs Run,

Ad_patch_driver_langs Lang,

Ad_patch_drivers driver,

Ad_applied_patches applied

WHERE run.patch_driver_id = driver.patch_driver_id

and driver.applied_patch_id = applied.applied_patch_id

and lang.patch_driver_id = driver.patch_driver_id ORDER by 3,4,1,2

-You can count the time of patch, which is helpful to the time and schedule of patches for the product environment.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.