file-edit-oracle.xql
DB Query file
Related Files
- packages/general-comments/www/file-edit.tcl
- packages/general-comments/www/file-edit-postgresql.xql
- packages/general-comments/www/file-edit-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="get_comment">
<querytext>
select r.title,
i.name as file_name
from cr_items i, cr_revisions r
where i.item_id = :attach_id and
r.revision_id = content_item.get_latest_revision(i.item_id)
</querytext>
</fullquery>
</queryset>