Thursday, October 12, 2023
SQL query to get the version of a file
select sub.filename, sub.version , sub.last_update_date, sub.app_short_name, sub.subdir
from (
select adf.filename filename,
afv.version version,afv.LAST_UPDATE_DATE,adf.app_short_name, adf.subdir,
rank()over(partition by adf.filename
order by afv.version_segment1 desc,
afv.version_segment2 desc,afv.version_segment3 desc,
afv.version_segment4 desc,afv.version_segment5 desc,
afv.version_segment6 desc,afv.version_segment7 desc,
afv.version_segment8 desc,afv.version_segment9 desc,
afv.version_segment10 desc,
afv.translation_level desc) as rank1
from ad_file_versions afv,
(
select filename, app_short_name, subdir, file_id
from ad_files
where upper(filename) like upper('%&filename%')
) adf
where adf.file_id = afv.file_id
) sub
where rank1 = 1
order by 1;
Subscribe to:
Post Comments (Atom)
Oracle Database Password Management: Resetting Password Policies and User Account Expiry Issues
Checking Password Lifetime Policy Oracle password expiration rules are controlled through profiles. The following query helps identify the...
-
TKPROF Overview. TKPROF is used for diagnosing performance issues. It formats a trace file into readable format for performance ana...
-
CLOUD EBS INSTALLTION login as: opc Authenticating with public key "rsa-key-20201105" from agent Last login: Thu Nov 19 08...
-
Query to find the Concurrent Request Trace File Path In Oracle Applications, we all submit concurrent requests. As a developer when we nee...
No comments:
Post a Comment