bookmark-delete-postgresql.xql
DB Query file
Related Files
- packages/bookmarks/www/bookmark-delete.xql
- packages/bookmarks/www/bookmark-delete.tcl
- packages/bookmarks/www/bookmark-delete.adp
- packages/bookmarks/www/bookmark-delete-postgresql.xql
- packages/bookmarks/www/bookmark-delete-oracle.xql
[ hide source ] | [ make this the default ]
File Contents
<?xml version="1.0"?> <queryset> <rdbms><type>postgresql</type><version>7.1</version></rdbms> <fullquery name="contained_bookmarks"> <querytext> select bm.local_title, tree_level(bm.tree_sortkey) as indentation from bm_bookmarks bm, bm_bookmarks bm2 where bm.tree_sortkey between bm2.tree_sortkey and tree_right(bm2.tree_sortkey) and bm2.bookmark_id = :bookmark_id order by bm.tree_sortkey </querytext> </fullquery> </queryset>