EasyManua.ls Logo

Sybase Adaptive Server Anywhere - Page 380

Sybase Adaptive Server Anywhere
1182 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Alphabetical list of functions
362
SQL/92 Vendor extension.
Sybase Compatible with Adaptive Server Enterprise.
"REPEAT function" on page 360
RIGHT function [String]
Returns the rightmost characters of a string.
RIGHT (
string-expression
,
integer-expression
)
string-expression The string to be left-truncated.
integer expression The number of characters at the end of the string to
return.
The following statement returns the value olate.
SELECT RIGHT( ’chocolate’, 5 )
If the string contains multi-byte characters, and the proper collation is being
used, the number of bytes returned may be greater than the specified number
of characters.
SQL/92 Vendor extension.
Sybase Compatible with Adaptive Server Enterprise.
"LEFT function" on page 343
"International Languages and Character Sets" on page 287 of the book ASA
User’s Guide
ROUND function [Numeric]
Rounds the numeric-expression to the specified integer-expression amount of
places after the decimal point.
ROUND (
numeric-expression
,
integer-expression
)
numeric-expression The number, passed into the function, to be
rounded..
integer-expression A positive integer specifies the number of significant
digits to the right of the decimal point at which to round. A negative
expression specifies the number of significant digits to the left of the decimal
point at which to round.
The following statement returns the value 123.200.
Standards and
compatibility
See also
Function
Syntax
Parameters
Examples
Usage
Standards and
compatibility
See also
Function
Syntax
Parameters
Examples

Table of Contents

Related product manuals