Neoview SQL Reference Manual (R2.2)
Returns the base 10 logarithm of a numeric value
expression.
“LOG10 Function” (page 353)
Returns the remainder (modulus) of an integer value
expression divided by an integer value expression.
“MOD Function” (page 364)
Returns the value of the operand unless it is zero, in which
case it returns NULL.
“NULLIFZERO Function” (page 378)
Returns the constant value of pi as a floating-point value.“PI Function” (page 382)
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 384)
Converts a numeric value expression expressed in degrees
to the number of radians.
“RADIANS Function” (page 386)
Returns the value of numeric_expr round to num places
to the right of the decimal point.
“ROUND Function” (page 392)
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 404)
Returns the sine of a numeric value expression, where the
expression is an angle expressed in radians.
“SIN Function” (page 405)
Returns the hyperbolic sine of a numeric value expression,
where the expression is an angle expressed in radians.
“SINH Function” (page 406)
Returns the square root of a numeric value expression.“SQRT Function” (page 408)
Returns the tangent of a numeric value expression, where
the expression is an angle expressed in radians.
“TAN Function” (page 414)
Returns the hyperbolic tangent of a numeric value
expression, where the expression is an angle expressed in
radians.
“TANH Function” (page 415)
Returns the value of the operand unless it is NULL, in
which case it returns zero.
“ZEROIFNULL Function” (page 434)
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 334)
Calculates differences between values of the result of
DIFF1 of the current row and DIFF1 of previous rows.
“DIFF2 Function” (page 336)
Moving sequence functions:
Returns the average of nonnull values of a column
expression in the current window.
“MOVINGAVG Function” (page 367)
Categories 283