The following table identifies equivalent ANSI SQL:2011 window functions for Teradata-specific functions.
The use of the Teradata-specific functions listed in the following table is strongly discouraged. These functions are retained only for backward compatibility with existing applications. Be sure to use the ANSI-compliant window functions for any new applications you develop.
|Teradata-Specific Functions||Equivalent ANSI SQL:2011 Window Functions|
|MDIFF(x, w, y)||composable from SUM|
|MLINREG||composable from SUM and COUNT|
|QUANTILE||composable from RANK and COUNT|