Neoview SQL Reference Manual (R2.3)
Returns the natural logarithm of a numeric value
expression.
“LOG Function” (page 363)
Returns the base 10 logarithm of a numeric value
expression.
“LOG10 Function” (page 364)
Returns the remainder (modulus) of an integer value
expression divided by an integer value expression.
“MOD Function” (page 375)
Returns the value of the operand unless it is zero, in which
case it returns NULL.
“NULLIFZERO Function” (page 389)
Returns the constant value of pi as a floating-point value.“PI Function” (page 393)
Returns the value of a numeric value expression raised to
the power of an integer value expression. You can also
use the exponential operator **.
“POWER Function” (page 395)
Converts a numeric value expression expressed in degrees
to the number of radians.
“RADIANS Function” (page 397)
Returns the value of numeric_expr round to num places
to the right of the decimal point.
“ROUND Function” (page 403)
Returns an indicator of the sign of a numeric value
expression. If value is less than zero, returns -1 as the
indicator. If value is zero, returns 0. If value is greater than
zero, returns 1.
“SIGN Function” (page 415)
Returns the sine of a numeric value expression, where the
expression is an angle expressed in radians.
“SIN Function” (page 416)
Returns the hyperbolic sine of a numeric value expression,
where the expression is an angle expressed in radians.
“SINH Function” (page 417)
Returns the square root of a numeric value expression.“SQRT Function” (page 419)
Returns the tangent of a numeric value expression, where
the expression is an angle expressed in radians.
“TAN Function” (page 425)
Returns the hyperbolic tangent of a numeric value
expression, where the expression is an angle expressed in
radians.
“TANH Function” (page 426)
Returns the value of the operand unless it is NULL, in
which case it returns zero.
“ZEROIFNULL Function” (page 445)
See the individual entry for the function.
Sequence Functions
Sequence functions operate on ordered rows of the intermediate result table of a SELECT statement
that includes a SEQUENCE BY clause. Sequence functions are categorized generally as difference,
moving, offset, or running.
Some sequence functions, such as ROWS SINCE, require sequentially examining every row in
the history buffer until the result is computed. Examining a large history buffer in this manner
for a condition that has not been true for many rows could be an expensive operation. In addition,
such operations may not be parallelized because the entire sorted result set must be available in
order to compute the result of the sequence function.
Difference sequence functions:
Calculates differences between values of a column
expression in the current row and previous rows.
“DIFF1 Function” (page 345)
Calculates differences between values of the result of
DIFF1 of the current row and DIFF1 of previous rows.
“DIFF2 Function” (page 347)
Moving sequence functions:
Categories 293