~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/replace.rst

  • Committer: Stewart Smith
  • Date: 2011-01-21 01:09:12 UTC
  • mfrom: (2099 staging)
  • mto: (2099.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2100.
  • Revision ID: stewart@flamingspork.com-20110121010912-x5ogi8rm08nortxp
merge trunk

Show diffs side-by-side

added added

removed removed

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