~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/replace.rst

  • Committer: Lee Bieber
  • Date: 2011-03-18 04:10:25 UTC
  • mfrom: (2241.1.2 build)
  • Revision ID: kalebral@gmail.com-20110318041025-1xoj1azy6zobhnbm
Merge Stewart - refactoring of default values
Merge Olaf - more refactoring

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
A typical query:
10
10
 
11
 
REPLACE INTO table_1 SET a=5;
 
11
.. code-block:: mysql
 
12
 
 
13
   REPLACE INTO table_1 SET a=5;
12
14
 
13
15
or
14
16
 
15
 
REPLACE INTO table_1 VALUES (4);
 
17
.. code-block:: mysql
 
18
 
 
19
   REPLACE INTO table_1 VALUES (4);
16
20
 
17
21
 
18
22
REPLACE is an extension to the SQL Standard that first appeared in MySQL.