new-oracle.xql
DB Query file
Related Files
- packages/acs-subsite/www/admin/rel-segments/new.tcl
- packages/acs-subsite/www/admin/rel-segments/new.adp
- packages/acs-subsite/www/admin/rel-segments/new-postgresql.xql
- packages/acs-subsite/www/admin/rel-segments/new-oracle.xql
[ hide source ] | [ make this the default ]
File Contents
<?xml version="1.0"?> <queryset> <rdbms><type>oracle</type><version>8.1.6</version></rdbms> <fullquery name="select_relation_types"> <querytext> select t.pretty_name, t.object_type as rel_type, replace(lpad(' ', (level - 1) * 4), ' ', ' ') as indent from acs_object_types t where t.object_type not in (select s.rel_type from rel_segments s where s.group_id = :group_id) connect by prior t.object_type = t.supertype start with t.object_type in ('membership_rel', 'composition_rel') order by lower(t.pretty_name) desc </querytext> </fullquery> </queryset>