Entering content frame

 sql_mode 

Syntax Rules for Setting up a Session

Syntax

<sql_mode> ::= INTERNAL | ANSI | DB2 | ORACLE

INTERNAL

Internal database system SQL Mode (system default)

ANSI

SQL dialect in accordance with the ANSI standard (ANSI X3.135-1992, Entry SQL)

DB2

SQL dialect in accordance with the definition for DB2 Version 4

ORACLE

SQL dialect in accordance with the ORACLE7 definition

Use

The active SQL mode determines which SQL dialect is understood by the database system. It is transferred between the Loader and the database instance when the connection is set up. If the data stream does not have the format PAGES, the SQL statements and load commands are interpreted in accordance with the specified SQL mode.

·        If you do not specify an SQL mode, the SQL mode INTERNAL is used.

·        If you enter an invalid SQL mode, the database system automatically assumes that you want to use the INTERNAL SQL mode.

·        The SQL mode can change within a command file or a script (SQLMODE command).

 

Leaving content frame