plsql_utility::object_type_exists_p (public)

 plsql_utility::object_type_exists_p object_type

Defined in packages/acs-subsite/tcl/plsql-utility-procs.tcl

Returns 1 if the specified object_type exists. 0 otherwise.

Parameters:
object_type
Author:
Michael Bryzek <mbryzek@arsdigita.com>
Created:
11/2000

Partial Call Graph (max 5 caller/called nodes):
%3 group_type::new group_type::new (public) plsql_utility::object_type_exists_p plsql_utility::object_type_exists_p group_type::new->plsql_utility::object_type_exists_p packages/acs-subsite/www/admin/group-types/new.tcl packages/acs-subsite/ www/admin/group-types/new.tcl packages/acs-subsite/www/admin/group-types/new.tcl->plsql_utility::object_type_exists_p packages/acs-subsite/www/admin/rel-types/new-2.tcl packages/acs-subsite/ www/admin/rel-types/new-2.tcl packages/acs-subsite/www/admin/rel-types/new-2.tcl->plsql_utility::object_type_exists_p rel_types::new rel_types::new (public) rel_types::new->plsql_utility::object_type_exists_p db_string db_string (public) plsql_utility::object_type_exists_p->db_string

Testcases:
No testcase defined.
Source code:
        return [db_string object_type_exists_p {
            select case when exists (select 1 from acs_object_types where object_type=:object_type)
                         then 1
                         else 0
                    end
            from dual
        }]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: