informix
Informix Guide to SQL: Tutorial
Modifying Data

In This Chapter

This chapter describes how to modify the data in your databases. Modifying data is fundamentally different than querying data. To query data involves examining the contents of tables. To modify data involves changing the contents of tables.

Think about what happens if the system hardware or software fails during a query. In this case, the effect on the application can be severe, but the database itself is unharmed. However, if the system fails while a modification is under way, the state of the database is in doubt. Obviously, a database in an uncertain state has far-reaching implications. Before you delete, insert, or update rows in a database, ask yourself the following questions:

If you cannot answer yes to each of these questions, do not panic. Solutions to all these problems are built into the Informix database servers. After a description of the statements that modify data, this chapter discusses these solutions. The Informix Guide to Database Design and Implementation covers these topics in greater detail.


Informix Guide to SQL: Tutorial, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved