Oracle PL/SQL Tutorial/System Packages/DBMS DEBUG
DBMS_DEBUG.probe_version
SQL> DECLARE
2 majorVersion VARCHAR2 (10);
3 minorVersion VARCHAR2 (10);
4 BEGIN
5 DBMS_DEBUG.probe_version (majorVersion, minorVersion);
6 DBMS_OUTPUT.put_line ("Major = " || majorVersion);
7 DBMS_OUTPUT.put_line ("Minor = " || minorVersion);
8 END;
9 /
PL/SQL procedure successfully completed.