Object Query Language

The Object Query Language ( OQL ) is a strongly refused to SQL query language for object databases.

The language is standardized by the Object Database Management Group ( ODMG ).

Despite the close based on the SQL language is not to be confused with it because of its object-oriented approach. OQL is designed to facilitate the interaction between the object-oriented programs, and a database. The classical relational approach leads to breaks in the software architecture.

To define the objects in the database, the Object Definition Language (ODL ) can be used.

In the simple example illustrated ( Find all students who are not also tutor at the same time ):

SELECT student.name FROM student IN StudentTUM WHERE NOT ( student.name IN SELECT FROM tutor.name tutor IN TAs) Web Links

  • Www.odbms.org/ODMG/

. QL | CQL | CODASYL | COQL | D | DMX | Datalog | ISBL | LDAP | MQL | MDX | OQL | OCL | Poliqarp Query Language | QUEL | SMARTS | SPARQL | SQL | SuprTool | TMQL | XQuery | XPath | YQL

  • Database language
  • Object-Oriented Programming
  • Object Management Group