Queries

A query is a request to the database (RDBMS) that generates a reply. You can author queries by using RAD (the Service Manager internal system language) or JavaScript. In either case, the query must be translated to the native language of the RDBMS and the reply translated back into the original requesting language. See the Service Manager Programming Guide for information on the Service Manager system language or JavaScript.

In order to write an effective query you must be familiar with the logical structure of the Service Manager tables and fields included in the query as they are defined in the system's database dictionary. It is sometimes also helpful to know the architecture of the tables and fields as they are defined in the database; however this information is often restricted to database administrators (DBAs) in enterprise organizations.

Related concepts

How do I write a good query?
Where are queries used?