Sei sulla pagina 1di 20

When there are fewer than two non-null data point pairs in the data used for the

computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)

IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.

n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty

pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ

es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.

Division by zero results in NULL rather than an error.


Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric

date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n

= ------------------Data Type Format Title


REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character

This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs

By default, Teradata Database performs implicit type conversion on UDT arguments


that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.

For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.

UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)

IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.

n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty

pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ

es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.

Division by zero results in NULL rather than an error.


Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric

date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n

= ------------------Data Type Format Title


REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character
This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data typeWhen there are fewer than two non-null data poin
t pairs in the data used for the computation,
then REGR_AVGX returns NULL.
Division by zero results in NULL rather than an error.
Result Type and Attributes
The data type, format, and title for REGR_AVGX(y, x) are as follows.
For information on the default format of data types and an explanation of the fo
rmatting
characters in the format, see Data Type Formats and Format Phrases in SQL Data Typ
es and
Literals.
Support for UDTs
By default, Teradata Database performs implicit type conversion on UDT arguments
that have
implicit casts that cast between the UDTs and any of the following predefined ty
pes:
Numeric
Character

This variable
Represents
x independent_variable_expression
x is the independent, or predictor, variable expression.
n COUNT(x)
REGR_AVGX SUM(x)
n
= ------------------Data Type Format Title
REAL REGR_AVGX(y,x)
IF the operand is
THEN the format is
character the default format for FLOAT.
numeric
date
interval
the same format as x.
UDT the format for the data type

Potrebbero piacerti anche