Home | Previous Page | Next Page   Managing Databases > Granting and Limiting Access to Your Database >

Using Views

A view is a synthetic table. You can query it as if it were a table, and in some cases, you can update it as if it were a table. However, it is not a table. It is a synthesis of the data that exists in real tables and other views.

The basis of a view is a SELECT statement. When you create a view, you define a SELECT statement that generates the contents of the view at the time you access the view. A user also queries a view with a SELECT statement. In some cases, the database server merges the select statement of the user with the one defined for the view and then actually performs the combined statements. For information about the performance of views, see your IBM Informix: Performance Guide.

Because you write a SELECT statement that determines the contents of the view, you can use views for any of the following purposes:

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]