photo-iconic-oracle.xql
DB Query file
Related Files
- packages/photo-album/www/photo-iconic.tcl
- packages/photo-album/www/photo-iconic-postgresql.xql
- packages/photo-album/www/photo-iconic-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="photo_iconic">
<querytext>
UPDATE pa_albums
SET iconic = :photo_id
WHERE pa_album_id = content_item.get_live_revision(:album_id)
</querytext>
</fullquery>
</queryset>