Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Documentum Content Management Foundations: EMC Proven Professional Certification Exam E20-120 Study Guide

You're reading from   Documentum Content Management Foundations: EMC Proven Professional Certification Exam E20-120 Study Guide Learn the technical fundamentals of the EMC Documentum platform while effectively preparing for the E20-120 exam

Arrow left icon
Product type Paperback
Published in Jun 2007
Publisher Packt
ISBN-13 9781847192400
Length 284 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Pawan Kumar Pawan Kumar
Author Profile Icon Pawan Kumar
Pawan Kumar
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Documentum Content Management Foundations
Credits
About the Author
Acknowledgement
About the Reviewers
Preface
1. ECM Basics FREE CHAPTER 2. Working with Content 3. Objects and Types 4. Architecture 5. Users and Privileges 6. Groups and Roles 7. Object Security 8. Searching 9. Custom Types 10. DocApps 11. Workflows 12. Lifecycles 13. Aliases 14. Virtual Documents Practice Test 1 Practice Test 2 Answers

Help—Some DQL Queries


DQL provides the keyword IN for checking direct membership of a component in a virtual document. Suppose that the virtual document in the book example has the object ID 0900006480002533. The following query retrieves information about all the chapters and the virtual document itself:

SELECT r_object_id, object_name
FROM dm_sysobject
IN DOCUMENT ID('0900006480002533')
WITH ANY r_version_label = 'CURRENT'

If all the descendants in the hierarchy are desired, the keyword DESCEND can be used after ID().

Further, suppose that books are being represented as a custom type book_doc and stored somewhere in the folder tree under a cabinet named books. The following query retrieves the names of all such books:

SELECT object_name
FROM book_doc
WHERE r_is_virtual_doc = 1
AND FOLDER('/books', DESCEND)
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image