17.7. Palabras reservadas de MaxDB

MySQL 5.0

17.7. Palabras reservadas de MaxDB

Like MySQL, MaxDB has a number of reserved words that have special meanings. Normally, they cannot be used as names of identifiers, such as database or table names. The following table lists reserved words in MaxDB, indicates the context in which those words are used, and indicates whether or not they have counterparts in MySQL. If such a counterpart exists, the meaning in MySQL might be identical or differing in some aspects. The main purpose is to list in which respects MaxDB differs from MySQL; therefore, this list is not complete.

For the list of reserved words in MySQL, see Sección 9.6, “Tratamiento de palabras reservadas en MySQL”.

Reserved in MaxDB Context of usage in MaxDB MySQL counterpart
Can prefix identifier, like “@table Not allowed
SQL function ; new in MySQL 4.1.1
SQL function ; new in MySQL 4.1.1
SQL function Nothing comparable
Data type Not implemented
SQL function , but implemented with a different meaning
Transactions; by default Transactions; by default
Column types; accepts as values only , , and was added in MySQL 4.1.0; it is a synonym for which is mapped to . It accepts integer values in the same range as as well as . and can be used as aliases for and .
; similar, but not identical usage
Column types ; noise word
SQL function ; identical syntax; similar, not identical usage
Implicit commits of transactions happen when data definition statements are issued Implicit commits of transactions happen when data definition statements are issued, and also with a number of other statements
SQL function Nothing comparable
SQL function ; identical syntax and implementation
SQL, data definition language
SQL function ; is used in a different context; for example,
SQL function
SQL function ; new in MySQL 4.1.1
SQL function Nothing comparable
SQL function ; by default, represents Monday in MaxDB and Sunday in MySQL
SQL functions , , , ; but used in a different context:
, for example ; similar, but not identical usage
SQL function Nothing comparable
SQL function Nothing comparable
Optimization ; similar, but not identical usage
SQL function Nothing comparable
SQL function Nothing comparable
SQL function ; similar, but not identical usage
SQL function or ; similar, but not identical syntaxes and meanings
, and similar hints are used right after ; for example, , and similar hints are used in the clause of a query; for example, in
SQL function Nothing comparable
SQL function ; identical syntax, but slightly different implementation
SQL function Nothing comparable
Comparisons ; but the extended MaxDB provides rather resembles the MySQL
wildcards MaxDB supports “%”, “_”, “Control-underline”, “Control-up arrow”, “*”, and “?” as wildcards in comparisons MySQL supports “%”, and “_” as wildcards in comparisons
SQL function ; slightly different implementation
SQL function ; slightly different implementation
SQL function ; new in MySQL 4.1.1
SQL function ; new in MySQL 4.1.1
SQL function Nothing comparable
SQL function ; new in MySQL 4.1.1
SQL function Nothing comparable
Column types; comparisons ; MaxDB supports special values that are returned by arithmetic operations that lead to an overflow or a division by zero; MySQL does not support such special values
SQL function ; identical syntax and implementation, but parentheses are mandatory in MySQL
Data type Nothing comparable
SQL function Nothing comparable
Predicate in clause Similar to clause
SQL function ; slightly different implementation
SQL function ; slightly different implementation
, ; similar concept, but different implementation
SQL function Nothing comparable
SQL function ; slightly different syntax
; similar concept, but different implementation
SQL function ; slightly different implementation
SQL function ; new in MySQL 4.1.1
Data definition language: , , Nothing comparable
SQL function Nothing comparable
SQL function
SQL function ; new in MySQL 4.1.1
SQL function ; new in MySQL 4.1.1
as argument to and SQL function Nothing comparable
SQL function Nothing comparable
Returns the ID of the current transaction Nothing comparable
SQL function ; identical syntax and implementation
SQL function ; slightly different implementation
SQL function ; slightly different syntax and implementation
Switches to a new database instance; terminates the connection to the current database instance; all subsequent commands are referred to this database instance ; identical syntax, but does not terminate the connection to the current database
SQL function ; identical syntax, but slightly different implementation, and parentheses are mandatory in MySQL
SQL function ; provides a means to calculate the same result as
SQL function, alias for ; identical syntax and implementation
SQL function ; new in MySQL 4.1.0
SQL function ; new in MySQL 4.1.1