Check patches applied from table:
- ad_applied_patches
Version from Binary File
For example, you need to know the program version of GMACACOST process and you don't have the source code. For this situation
you have to use the next unix command:
strings -a GMCACOST | grep -in '$Header' | more
Where $Header is located previous the version number.
UNIX Path
To know what is the current path in Unix directories, use the following command:
PS1='$PWD-> ';export PS1
With this command you don't need to execute de pwd command to know what is the current path.
Program Version ($Header)
To know what is the current Package version into the Database use the following SQL command:
SELECT name, text
FROM user_source
WHERE
1=1
AND TEXT LIKE '%$Header%'
AND type = 'PACKAGE BODY'
and (upper(name) like 'PO%'
With this command you will get all Package Body versions from PO module.
Database Version
That's a typical question from Metalink guys... use the following command:
select *
from sys.V_$VERSION