delete-2.xql
DB Query file
Related Files
- packages/general-comments/www/delete-2.xql
- packages/general-comments/www/delete-2.tcl
- packages/general-comments/www/delete-2-postgresql.xql
- packages/general-comments/www/delete-2-oracle.xql
[ hide source ] | [ make this the default ]
File Contents
<?xml version="1.0"?> <queryset> <fullquery name="delete_image_attachments"> <querytext> delete from images where image_id in (select latest_revision from cr_items where parent_id = :comment_id) </querytext> </fullquery> </queryset>