~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/replace.rst

  • Committer: Andrew Hutchings
  • Date: 2011-02-15 22:03:42 UTC
  • mto: (2172.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2173.
  • Revision ID: andrew@linuxjedi.co.uk-20110215220342-k4tveraug3bpy2v5
Make fixes to temporal docs
Make a few minor docs cleanups/fixes
Start using syntax-highlighting code blocks

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.