Writers' Community!

Search:

Writers' Community!

SearchWarp Home Submit An Article Frequently Asked Questions Contact Author Login
Article Submission
We Need YOUR Articles!
We'll Promote Them for FREE!

Author Login

New Authors
Register Here


Now Serving 5,246 Authors
44,585 Quality Articles
& 2,023 Current Users Online!
Featured Authors
Susan Thom (8,103)
Aaron Taylor (415)
Jared Wilson (3,839)
April Lorier (5,781)
Jeff Brown (4,695)
Michelle Mackin (9,112)
Krystal Kuehn (105)
Teresa Ortiz (5,740)
Terry Mitchell (1,408)
Ben Jones (4,858)
Judge Dred (602)
Angie Downing (300)
Sandra E. Graham (2,091)
Robert Melaccio, Sr. (4,558)

View All Featured Authors
Most Recent
Understanding Basic File Name Extensions

There be Spyware here, Captain!

Rundll Associated Problems - How To Deal With Them?

Why Registry Cleaners Do Only One Third of the Job

How to rip DVD and edit DVD Movie

Computer Clean Up

Rundll32.exe Infections - Getting Rid of Virus

Svvchost and Svchost32 Viruses - Extermination Overview

Windows Could Not Find File At Startup - Revolutionary Fixing Method

Getting DLL or Other Errors Messages?

Home » Categories » Computers & Networking » Software » Introduction to DQL-Documentum Query Language » Printer Friendly

Introduction to DQL-Documentum Query Language

Rated 3 out of 5
Rate It  /  View Comments  /  View All Articles submitted by Dayana
Submitted Monday, June 20, 2005
Submitted by: Dayana (561) Unverified Account Dayana blog
Log in to become a member of Dayana's Fan Club!


Introduction to DQL -Documentum Query Language-

The language used to query Documentum which is a content management

system used to create, manage, deliver, and archive all types of content from text documents and spreadsheets to digital images,  HTML, and XML components.

 

Contents

 

• Define DQL

• Behind the scenes

• Describe a SELECT statement

• Describe how search conditions are specified in a WHERE clause

• Using DQL to search a specific cabinet/folder location

• Describe the DQL REGISTER statement

 

DQL (Documentum Query Language) is a query language which allows you to do very complex queries involving:

 

1. Property searches

2. Searches for words and phrases within documents

3. Other specialized searching capabilities added for document and content management

 

DQL uses syntax that is a superset of ANSI-standard SQL (Structured Query Language)

• In fact, part of your DQL statements are translated automatically into SQL before being executed by the eContent Server

 

Behind the Scenes

 

• A DQL query is sent to the eContent Server using one of four API methods

readquery, execquery, query, or cachequery

• A DQL engine on eContent Server generates

– SQL queries for the RDBMS

– Verity queries for the full-text search engine

 

 

The results of the query are stored on the server in a non-persistent collection

object. Typically, a Documentum client will automatically present the results

of the query to the user in some useful way.

Alternatively, a Developer may want to use the resulting collection object or

manipulate the results programmatically.

 

Basic Select Statement

 

Select (list the properties you want returned)

From (list the type of objects you want searched)

 

Using WHERE clause

 

Allows the search to be narrowed by imposing search conditions on your

Query

 

select [all | distinct] value [as name] {,value [as name] } from source_list [(all)]

...

[where qualification ]

 

Eg :

SELECT object_name, title FROM dm_document WHERE FOLDER (ID(’0b9af3ce800001ff’)) AND title LIKE ’%SOP%’

 

Searching folders and cabinets

 

The scope of the search can be specified as folder and cabinet in the where clause to provide a way to search the cabinet/folder hierarchy.

Eg : select object_name from dm_document where folder(‘/Sales’)

 

REGISTER statement

 

• Registers an RDBMS table so the eContent Server can “see" it

• Allows access to data in an existing RDBMS table that may be

– created to support additional application data

– part of another application

– owned by someone else

• Does not verify that the table or its columns exist

• All columns in a table need not be registered

• Creates a dm_registered object in the System cabinet which

provides a description of the table and user access to it

 

REGISTER permissions

• Only the Docbase owner with a SUPERUSER privilege can register a table from

within Documentum.

• To register a table, you must have at least READ permission on the table (through the

RDBMS grant command).

• The eContent Server account (installation owner) needs the appropriate RDBMS

privileges on the table to perform different operations on rows in the table.






Reprint Rights

Log in to become a member of Dayana's Fan Club!

Comments on this article:


» left by Chris from TX (3 years 77 days ago.)
Reader Rating: 4.5 out of 5
I am working in Documetum. This article gives a brief description about DQL.It is good.
Respond to this comment

» left by John from Bangalore (3 years 77 days ago.)
Reader Rating: 4.5 out of 5
simple and understandable
Respond to this comment

» left by Varghese from Cochin (3 years 77 days ago.)
Reader Rating: 5 out of 5
Very Good introduction
Respond to this comment

» left by Lora from UK (3 years 21 days ago.)
Reader Rating: 4.5 out of 5
I was in search to know what is DQL. It gives a brief idea. It is very helpful to know what is it. Please include more examples.
Respond to this comment

» left by Norman S. Wilkins from Indianapolis, IN (2 years 334 days ago.)
Reader Rating: 5 out of 5
Good stuff...wish there were more.
Respond to this comment

» left by Brandon from Minnesota (2 years 333 days ago.)
Reader Rating: 4 out of 5
The article helps to get you headed the in the right direction. Especially when you are just starting to create DQL queries.
Thanks
Respond to this comment

» left by Sudeep Ghatak from Frederick MD (2 years 215 days ago.)
Reader Rating: 2 out of 5
The document is good to start with. It would be nice if the document also has links to some websites where there is more about DQL
Respond to this comment

» left by Srinivasan from Chennai, India (2 years 77 days ago.)
Reader Rating: 2 out of 5
This is good. Dql keyword like documet, user, folder and many are there, if you provide these kind of information will help new guys.

thanks
Respond to this comment

» left by Abhinesh from Bangalore (2 years 48 days ago.)
Reader Rating: 3 out of 5
Good one but I want to know how to handle single quote in DQL as this gives an error. Any one who can provide help in this.
Respond to this comment

» left by bhaskar from gurgaon (1 year 70 days ago.)
how to write the quries using DQL?i want clear picture with tables?
Respond to this comment

» left by umesh from bangalore (1 year 27 days ago.)
Reader Rating: 1 out of 5
Hi, it is very good for beginners ,

Respond to this comment

» left by rajiv from USA (1 year 22 days ago.)
Reader Rating: 2.5 out of 5
To write a clear query you have to use the DQL editor which can be found in the documentum administrator under Docbase management.
Respond to this comment

» left by Will from Chile (182 days 14 hours ago.)
Reader Rating: 1.5 out of 5
Hi, This is good, but i need more information, where i can get DQL Manual?
Respond to this comment

» left by Anonymous (6 days 20 hours ago.)
Reader Rating: 4 out of 5
Is it possible to write inner queries in DQL? for eg select A.field1,B.field 2 from ( inner query 1) A, (inner Query 2) B where A. field1 <> B.field2

Respond to this comment

Was this article helpful to you? Leave a Public Comment or Question:

 

This Article has been viewed 7,606 times.
Article added to SearchWarp.com on Monday, June 20, 2005
View other articles written by Dayana (561) Unverified Account Dayana blog


If you found this article interesting, you may want to check out:

Disclaimer:  All information on this site is provided for informational purposes only! By no means is any information presented herein intended to substitute for the advice provided to you by any health care or other professional or organization.


Today's Most Popular
Introduction to DQL-Documentum Query Language

Linux Commands Tutorials - Using the ls Command with Examples of Options - A Hands-On Tutorial Help

How to Save an Image in a SQL Server Database?

Sorting Microsoft's Word 2007 Numbered or Bulleted Lists

Outsourcing vs. Captive Operations: Which Model Is the Best Fit For Your Business?

Internet Explorer 7 (IE7) As a Ftp Client-Does Not Work

Linux Command Tutorials - Opening a Linux Terminal / Console to Run Linux Commands - Tutorial Help

How to Change Folder Icon or Folder Color?

Recover Deleted Email Messages in Vista Windows Mail

Elimination of Spooler Subsystem App problem. Easy and quick.

Home  |  FAQ's  |  Contact  |  Terms of Service  |  Article Submission Guidelines  |  Writers' Contests  |  Privacy  |  Mission / About
Copyright © 1999-2008 SearchWarp.com, All Rights Reserved - SearchWarp.com is an IcoLogic, Inc. Company