INFORMIX
Informix Guide to SQL: Syntax
Chapter 1: SQL Statements
Home Contents Index Master Index New Book

How to Enter SQL Statements

The purpose of the statement descriptions in this chapter is to help you to enter SQL statements successfully and to understand the behavior of the statements. Each statement description includes the following information:

If a statement consists of multiple clauses, the statement description provides the same set of information for each clause.

Each statement description concludes with references to related information in this manual and other manuals.

The major aids for entering SQL statements successfully include:

Using Syntax Diagrams and Syntax Tables

Before you try to use the syntax diagrams in this chapter, it is helpful to read "Syntax Conventions" of the Introduction. This section is the key to understanding the syntax diagrams in the statement descriptions.

The "Syntax Conventions" section explains the elements that can appear in a syntax diagram and the paths that connect the elements to each other. This section also includes a sample syntax diagram that illustrates the major elements of all syntax diagrams. The narrative that follows the sample diagram shows how to read the diagram in order to enter the statement successfully.

When a syntax diagram within a statement description includes input parameters, the syntax diagram is followed by a syntax table that shows how to enter the parameters without generating errors. Each syntax table includes the following columns:

Using Examples

To understand the main syntax diagram and subdiagrams for a statement, study the examples of syntax that appear in the rules of usage for each statement. These examples have two purposes:

Tip: An efficient way to understand a syntax diagram is to find an example of the syntax and compare it with the keywords and parameters in the syntax diagram. By mapping the concrete elements of the example to the abstract elements of the syntax diagram, you can understand the syntax diagram and use it more effectively.
For an explanation of the conventions used in the examples in this manual, see "Sample-Code Conventions" of the Introduction.

Using References

For help in understanding the concepts and terminology in the SQL statement description, check the "References" section at the end of the description.

The "References" section points to related information in this manual and other manuals that helps you to understand the statement in question. This section provides some or all of the following information:

Tip: If you do not have extensive knowledge and experience with SQL, the "Informix Guide to SQL: Tutorial" gives you the basic SQL knowledge that you need to understand and use the statement descriptions in this manual.



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