Oracle 5.0 Reference Manual page 785

Table of Contents

Advertisement

|
bit_expr
MOD
bit_expr
|
bit_expr
%
bit_expr
|
bit_expr
^
bit_expr
|
bit_expr
+
interval_expr
|
bit_expr
-
interval_expr
|
simple_expr
simple_expr:
literal
|
identifier
|
function_call
|
simple_expr
COLLATE
|
param_marker
|
variable
|
simple_expr
||
simple_expr
| +
simple_expr
| -
simple_expr
| ~
simple_expr
| !
simple_expr
| BINARY
simple_expr
|
(expr
[, expr] ...)
| ROW (expr,
expr
[, expr] ...)
| (subquery)
| EXISTS (subquery)
|
{identifier
expr}
|
match_expr
|
case_expr
|
interval_expr
Notes:
For literal value syntax, see
For identifier syntax, see
Variables can be user variables, system variables, or stored program local variables or parameters:
• User variables:
Section 9.4, "User-Defined Variables"
• System variables:
Section 5.1.5, "Using System Variables"
• Local variables:
Section 13.6.4.1, "Local Variable
• Parameters:
Section 13.1.9,
is
param_marker
'?'
"PREPARE
Syntax".
indicates a subquery that returns a single value; that is, a scalar subquery. See
(subquery)
Section 13.2.9.1, "The Subquery as Scalar
{identifier expr}
is expr. The curly braces in the syntax should be written literally; they are not metasyntax as used
elsewhere in syntax descriptions.
indicates a
match_expr
indicates a
case_expr
represents a time interval. The syntax is
interval_expr
a specifier such as HOUR, DAY, or WEEK. For the full list of
[919]
function in
DATE_ADD()
The meaning of some operators depends on the SQL mode:
• By default,
[881]
is a logical
||
[881]
is string concatenation, with a precedence between
||
Expression Syntax
collation_name
Section 9.1, "Literal
Section 9.2, "Schema Object
"CREATE PROCEDURE
as used in prepared statements for placeholders. See
Operand".
is ODBC escape syntax and is accepted for ODBC compatibility. The value
[934]
expression. See
MATCH
[883]
expression. See
CASE
Section 12.7, "Date and Time
[881]
operator. With
OR
765
Values".
Names".
Syntax"
DECLARE
and
CREATE FUNCTION
Section 12.9, "Full-Text Search
Section 12.4, "Control Flow
INTERVAL expr
specifiers, see the description of the
unit
Functions".
PIPES_AS_CONCAT
[951]
and the unary operators.
^
Syntax"
Section 13.5.1,
Functions".
Functions".
unit, where
is
unit
[539]
enabled,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents