1
# Copyright (C) 2008-2009 Sun Microsystems, Inc. All rights reserved.
2
# Use is subject to license terms.
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; version 2 of the License.
8
# This program is distributed in the hope that it will be useful, but
9
# WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
# General Public License for more details.
13
# You should have received a copy of the GNU General Public License
14
# along with this program; if not, write to the Free Software
15
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
18
## TODO: Re-enable UTF16 in 'charset' and _UTF16 in 'charset_underscore' once WL#1213 is pushed.
19
## (Implementation not present in current 6.0 or 5.x codebases).
22
update | insert | delete | select ;
25
SELECT _field FROM _table ;
28
UPDATE _table SET _field_no_pk = value WHERE condition update_scope;
32
ORDER BY `pk` LIMIT _digit ;
35
DELETE FROM _table WHERE condition ORDER BY `pk` LIMIT 1 ;
38
INSERT INTO _table ( _field , _field , _field ) VALUES ( value , value , value ) ;
41
CONVERT( string USING charset ) |
42
REPEAT( charset_underscore _hex , _tinyint_unsigned );
45
_english | _varchar(255);
48
UTF8 | LATIN1 | ASCII | UCS2 ;
51
_UTF8 | _LATIN1 | _ASCII | _UCS2 ;
54
_field operator value |
55
_field BETWEEN value AND value |
56
_field IN ( value , value , value , value , value , value , value ) |
57
_field LIKE CONCAT( value , '%' ) |
64
< | > | = | <> | != | <= | >= ;