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:
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:
|