INFORMIX
Informix Guide to SQL: Tutorial
Chapter 6: Modifying Data Through SQL Programs
Home Contents Index Master Index New Book

Summary

A program can execute the INSERT, DELETE, and UPDATE statements as described in Chapter 4, "Modifying Data." A program also can scan through a table with a cursor, updating or deleting selected rows. It can also use a cursor to insert rows, with the benefit that the rows are buffered and sent to the database server in blocks.

In all these activities, you must make sure that the program detects errors and returns the database to a known state when an error occurs. The most important tool for doing this is the transaction. Without transaction logging, it is more difficult to write programs that can recover from errors.




Informix Guide to SQL: Tutorial, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.