attach-detail-oracle.xql
DB Query file
Related Files
- packages/wp-slim/www/attach-detail.xql
- packages/wp-slim/www/attach-detail.tcl
- packages/wp-slim/www/attach-detail.adp
- packages/wp-slim/www/attach-detail-postgresql.xql
- packages/wp-slim/www/attach-detail-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="info_get">
<querytext>
select r.revision_id, a.display, r.mime_type
from cr_items i, cr_wp_image_attachments a, cr_revisions r
where i.item_id = :attach_item_id and
i.live_revision = r.revision_id and
r.revision_id = a.attach_id(+)
</querytext>
</fullquery>
</queryset>