apm_highest_version_name (public)

 apm_highest_version_name package_key

Defined in packages/acs-tcl/tcl/apm-procs.tcl

Return the highest version of the indicated package.

Parameters:
package_key (required)
Returns:
the version_name of the highest installed version of a package.

Testcases:
No testcase defined.
Source code:
    return [db_string apm_highest_version_name {} -default ""]
Generic XQL file:
packages/acs-tcl/tcl/apm-procs.xql

PostgreSQL XQL file:
<fullquery name="apm_highest_version_name.apm_highest_version_name">
    <querytext>

        select version_name
        from   apm_package_versions
        where  package_key = :package_key
        and    version_id = apm_package__highest_version(:package_key)

      </querytext>
</fullquery>
packages/acs-tcl/tcl/apm-procs-postgresql.xql

Oracle XQL file:
<fullquery name="apm_highest_version_name.apm_highest_version_name">
    <querytext>

        select version_name
        from   apm_package_versions
        where  package_key = :package_key
        and    version_id = apm_package.highest_version(:package_key)

      </querytext>
</fullquery>
packages/acs-tcl/tcl/apm-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: