Previous Topic: Accessing SQL TablesNext Topic: Specifying Preprocessor Options


Selecting and Manipulating Data

You can select the data you want to work with using the SQL SELECT statement. Since SQL is a powerful language, the SELECT statement can accommodate complex constructs. However, if you are a new SQL user, you may want to start with simple language constructs, especially using the SELECT and specifying search conditions.

The most common data manipulation operations involve inserting, updating and deleting. Specifying the data to be manipulated can involve cursor and non-cursor operations.

In application programs, any changes to data can be committed by issuing the COMMIT WORK statement. Changes which have not been committed can be backed out by issuing the ROLLBACK WORK statement. CA Datacom Datadictionary and CA Dataquery automatically handle transaction commits and rollbacks.