Object Query Language
Encyclopedia
|
| Tutorials | Encyclopedia | Dictionary | Directory |
|
Object Query Language
Object Query Language (OQL) is a query language standard for object-oriented databases modelled after SQL. OQL was developed by the Object Data Management Group (ODMG). Because of its overall complexity no vendor has ever fully implemented the complete OQL. OQL has influenced the design of some of the newer query languages like JDOQL and EJBQL, but they can't be considered as different flavours of OQL.
ExamplesKey Differences Between OQL and SQL OQL differs from SQL in that:
General Rules of OQL The following rules apply to OQL statements:
Simple queryThe following example illustrates how one might retrieve the CPU-speed of all PCs with more than 64MB of RAM from a fictional PC database:
Query with grouping and aggregationThe following example illustrates how one might retrieve the average amount of RAM on a PC, grouped by manufacturer:
Note the use of the keyword See AlsoODMG - Object Data Management Group
de:Object Query Language fr:Object Query Language pl:OQL ES:Object Query Language Source: Wikipedia | The above article is available under the GNU FDL. | Edit this article
|
|
top
©2008-2009 TutorGig.com. All Rights Reserved. Privacy Statement