DB2 Server for VSE & VM: SQL Reference


Chapter 1. Introduction

This introductory chapter:

Note:For ease of reading, this book follows the following convention:


Who This Book Is For

This book is for programmers, system administrators, and database administrators who want to use SQL to access a DB2 Server for VSE & VM database. This book is a reference rather than a tutorial or guide. It assumes you are already familiar with SQL. This book also assumes that you will be writing applications for the VM or VSE environment and therefore presents the full functions of the DB2 Server for VSE & VM program.

Prerequisite Knowledge

It is assumed that you possess an understanding of system administration, database administration, or application programming in the DB2 Server for VM or DB2 Server for VSE environment, as provided by the appropriate guide, and you have some knowledge of the following:

It also assumes that you are familiar with the information found in the DB2 Server for VSE & VM Overview manual.


How This Book Is Organized

This book has the following sections:


|How to Send Your Comments

|Your feedback is important in helping to provide the most accurate and |high-quality information. If you have any comments about this book or |any other DB2 Server for VSE & VM documentation: |


Syntax Notation Conventions

Throughout this manual, syntax is described using the structure defined below.


SQL Reserved Words

The following words are reserved in the SQL language. They cannot be used in SQL statements except for their defined meaning in the SQL syntax or as host variables, preceded by a colon.

In particular, they cannot be used as names for tables, indexes, columns, views, or dbspaces unless they are enclosed in double quotation marks (").



ACQUIRE
ADD
ALL
ALTER
AND
ANY
AS
ASC
AVG
 
BETWEEN
BY
 
CALL
CHAR
CHARACTER
COLUMN
COMMENT
COMMIT
CONCAT
CONNECT
COUNT
CREATE
CURRENT
 
DBA
DBSPACE
DELETE
DESC
DISTINCT
DOUBLE
DROP
 
EXCLUSIVE
EXECUTE
EXISTS
EXPLAIN
 
FIELDPROC
FOR
FROM


GRANT
GRAPHIC
GROUP
 
HAVING
 
IDENTIFIED
IN
INDEX
INSERT
INTO
IS
 
LIKE
LOCK
LONG
 
MAX
MIN
MODE
 
NAMED
NHEADER
NOT
NULL
 
OF
ON
OPTION
OR
ORDER
 
PACKAGE
PAGE
PAGES
PCTFREE
PCTINDEX
PRIVATE
PRIVILEGES
PROGRAM
PUBLIC


RESOURCE
REVOKE
ROLLBACK
ROW
RUN
 
SCHEDULE
SELECT
SET
SHARE
SOME
STATISTICS
STORPOOL
SUM
SYNONYM
 
TABLE
TO
 
UNION
UNIQUE
UPDATE
USER
 
VALUES
VIEW
 
WHERE
WITH
WORK


Conventions for Representing Mixed Data Values

When mixed data values are shown in examples the following conventions apply:

Convention
Meaning

<
Represents the mixed shift-out character (X'0E').

>
Represents the mixed shift-in character (X'0F').

x
Represents an SBCS character (where x can be any lowercase character).

(XX)
Represents a DBCS character (where (XX) can be any double uppercase character).

Short Forms Used in Syntax Diagrams

Some words have been shortened in some of the syntax diagrams in this book. The words are:

Full Word
Short Form

character
char

expressions
exp

string
str


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