Useful Queries: Renditions

Display all objects that have renditions:

select r_object_id, object_name, a_content_type, r_object_type, r_lock_owner, r_link_cnt from dm_document where r_object_id in (select parent_id from dmr_content where rendition > 0)

Display all of my objects that have PDF renditions:

select r_object_id, object_name, a_content_type, r_object_type, r_lock_owner, r_link_cnt from dm_document where r_object_id in (select parent_id from dmr_content where full_format = ‘pdf’ and rendition > 0) and owner_name = user

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: