Oracle 5.0 Reference Manual page 557

Table of Contents

Advertisement

NO_BACKSLASH_ESCAPES
Disable the use of the backslash character ("\") as an escape character within strings. With this
mode enabled, backslash becomes an ordinary character like any other. (Implemented in MySQL
5.0.1)
NO_DIR_IN_CREATE
When creating a table, ignore all
is useful on slave replication servers.
NO_ENGINE_SUBSTITUTION
Control automatic substitution of the default storage engine when a statement such as
or
TABLE
ALTER TABLE
in MySQL 5.0.8)
With
NO_ENGINE_SUBSTITUTION
if the desired engine is known but disabled or not compiled in. If the desired engine is invalid (not a
known engine name), an error occurs and the table is not created or altered.
With
NO_ENGINE_SUBSTITUTION
altered if the desired engine is unavailable for any reason (whether disabled or invalid).
NO_FIELD_OPTIONS
Do not print MySQL-specific column options in the output of
used by
mysqldump
NO_KEY_OPTIONS
Do not print MySQL-specific index options in the output of
by
in portability mode.
mysqldump
NO_TABLE_OPTIONS
Do not print MySQL-specific table options (such as ENGINE) in the output of
This mode is used by
NO_UNSIGNED_SUBTRACTION
By default, subtraction between integer operands produces an
isUNSIGNED. When
NO_UNSIGNED_SUBTRACTION
signed, even if any operand is unsigned. For example, compare the type of column
with that of column
c2
mysql>
SET sql_mode='';
mysql>
CREATE TABLE test (c1 BIGINT UNSIGNED NOT NULL);
mysql>
CREATE TABLE t1 SELECT c1 - 1 AS c2 FROM test;
mysql>
DESCRIBE t1;
+-------+---------------------+------+-----+---------+-------+
| Field | Type
+-------+---------------------+------+-----+---------+-------+
| c2
| bigint(21) unsigned |
+-------+---------------------+------+-----+---------+-------+
mysql>
SET sql_mode='NO_UNSIGNED_SUBTRACTION';
mysql>
CREATE TABLE t2 SELECT c1 - 1 AS c2 FROM test;
mysql>
DESCRIBE t2;
+-------+------------+------+-----+---------+-------+
| Field | Type
+-------+------------+------+-----+---------+-------+
| c2
| bigint(21) |
+-------+------------+------+-----+---------+-------+
Server SQL Modes
[537]
[537]
INDEX DIRECTORY
[537]
specifies a storage engine that is disabled or not compiled in. (Implemented
[537]
disabled, the default engine is used and a warning occurs
[537]
enabled, an error occurs and the table is not created or
[537]
in portability mode.
[537]
[537]
in portability mode.
mysqldump
[537]
in table t2:
| Null | Key | Default | Extra |
|
| Null | Key | Default | Extra |
|
| 0
537
and
DATA DIRECTORY
SHOW CREATE
SHOW CREATE
UNSIGNED
[537]
is enabled, the subtraction result is
| 0
|
|
|
|
directives. This option
CREATE
TABLE. This mode is
TABLE. This mode is used
SHOW CREATE
TABLE.
result if any operand
in table
c2
t1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents