Vendor Extensions
The following section provides a full listing and description of each vendor-supported function. These functions are vendor-specific. Thus, a MySQL function, for example, is not guaranteed to be supported by any other vendor. MySQL functions are provided to give an idea of the capabilities available within the various products. Refer to the vendor’s documentation for exact syntax usage.
Microsoft SQL Server-Supported Functions
Table 4.7 provides an alphabetical listing of Microsoft SQL Server-supported functions.
Table 4-7. Microsoft SQL Server-Supported Functions
|
Function |
Description |
|---|---|
|
abs(numeric_expression) |
Returns absolute value. |
|
acos( float_expression) |
Returns angle (in radians) whose cosine is the specified argument. |
|
app_name( ) |
Returns application name for current session; set by application. |
|
ascii(character_expression) |
Converts character to a numeric ASCII code. |
|
asin( float_expression) |
Returns angle (in radians) whose sine is the specified argument. |
|
atan( float_expression) |
Returns angle (in radians) whose tangent is the specified argument. |
|
atn2( float_expression, float_expressioin) |
Returns angle (in radians) whose tangent is argument1/argument1. |
|
avg([ All| Distinct] Expression) |
Computes average of a column. |
|
binary_checksum(* | expression [,...n]) |
Returns binary checksum for list of expressions or row of a table. |
|
cast(Expression as Data Type) |
Converts a valid SQL Server expression to the specified datatype. |
|
ceiling(numeric_expression) ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access