album-edit-oracle.xql
DB Query file
Related Files
- packages/photo-album/www/album-edit.xql
- packages/photo-album/www/album-edit.tcl
- packages/photo-album/www/album-edit.adp
- packages/photo-album/www/album-edit-postgresql.xql
- packages/photo-album/www/album-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="update_album_attributes"> <querytext> declare dummy integer; begin dummy := content_revision.new ( title => :new_title, description => :new_desc, item_id => :album_id, revision_id => :revision_id, creation_date => sysdate, creation_user => :user_id, creation_ip => :peeraddr ); end; </querytext> </fullquery> <fullquery name="set_live_album"> <querytext> begin content_item.set_live_revision ( revision_id => :revision_id ); end; </querytext> </fullquery> </queryset>