Oracle 5.0 Reference Manual page 41

Table of Contents

Advertisement

by renaming the .MYD, .MYI, and
preferable to use
RENAME TABLE
files.)
Database and table names cannot contain path name separator characters ("/", "\").
• General language syntax
• By default, strings can be enclosed by either """ or "'", not just by "'". (If the
[535]
ANSI_QUOTES
interprets strings enclosed by """ as identifiers.)
• "\" is the escape character in strings.
• In SQL statements, you can access tables from different databases with the
syntax. Some SQL servers provide the same functionality but call this
Server doesn't support tablespaces such as used in statements like this:
ralph.my_table ... IN
• SQL statement syntax
• The
ANALYZE
TABLE,
• The
CREATE
DATABASE,
Section 13.1.6,
"CREATE DATABASE
Section 13.1.1,
"ALTER DATABASE
• The
statement.
DO
EXPLAIN SELECT
• The
and
FLUSH
RESET
• The
statement. See
SET
• The
statement. See
SHOW
the MySQL-specific
to query INFORMATION_SCHEMA. See
Use of
LOAD DATA
INFILE. See
Section 13.2.6,
• Use of
TABLE. See
RENAME
• Use of
instead of
REPLACE
• Use of
CHANGE
col_name,
statements. Use of multiple ADD, ALTER, DROP, or
TABLE
statement. See
Section 13.1.4,
• Use of index names, indexes on a prefix of a column, and use of
statements. See
Section 13.1.10,
• Use of
TEMPORARY
• Use of
IF EXISTS
• The capability of dropping multiple tables with a single
• The
and
ORDER BY
INSERT INTO tbl_name SET col_name = ...
MySQL Extensions to Standard SQL
files to which the table corresponds. (Nevertheless, it is
.frm
or
ALTER TABLE ... RENAME
SQL mode is enabled, strings can be enclosed only by "'" and the server
my_tablespace.
CHECK
TABLE,
OPTIMIZE
DATABASE, and
DROP
Syntax",
Syntax".
to obtain a description of how tables are processed by the query optimizer.
statements.
Section 13.7.4,
"SET
Section 13.7.5,
statements can be obtained in more standard fashion by using
SHOW
Chapter 19,
INFILE. In many cases, this syntax is compatible with Oracle's
"LOAD DATA INFILE
Section 13.1.20,
plus INSERT. See
DELETE
col_name, or
DROP
"ALTER TABLE
"CREATE TABLE
or
with
IF NOT EXISTS
with
and
DROP TABLE
clauses of the
LIMIT
21
TABLE, and
REPAIR TABLE
ALTER DATABASE
Section 13.1.13,
"DROP DATABASE
Syntax".
"SHOW
Syntax". The information produced by many of
INFORMATION_SCHEMA
Syntax".
"RENAME TABLE
Syntax".
Section 13.2.7,
DROP
INDEX,
CHANGE
Syntax".
Syntax".
CREATE
TABLE.
DROP
DATABASE.
DROP TABLE
and
statements.
UPDATE
DELETE
syntax.
and let the server rename the
db_name.tbl_name
space. MySQL
User
CREATE TABLE
statements.
statements. See
Syntax", and
Tables.
LOAD DATA
"REPLACE
Syntax".
or
in
IGNORE
RENAME
clauses in an
ALTER TABLE
or
in
INDEX
KEY
CREATE TABLE
statement.
SELECT
ALTER

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents