Start of change

Structured query language

One language that you use to access the data in IMS™ is SQL. SQL is a standardized language for defining and manipulating data in a relational database.

The language consists of SQL statements. SQL statements let you retrieve, insert, update, or delete data in IMS databases.

When you write an SQL statement, you specify what you want done, not how to do it. To access data, for example, you need only to name the segment and fields that contain the data. You do not need to describe how to get to the data.

In accordance with the relational model of data:

IMS transforms each SQL statement, that is, the specification of a result table, into a sequence of operations for data retrieval or modifications.

All executable SQL statements must be prepared before they can run.

End of change