Standards and
compatibility
See also
RTRIM function [String]
Function
Syntax
Parameters
Examples
Standards and
compatibility
See also
SECOND function [Date and time]
Function
Syntax
Parameters
Examples
Standards and
compatibility
SECONDS function [Date and time]
Function
SELECT ROUND( 123.234, 1 )
♦
SQL/92
Vendor extension.
♦
Compatible with Adaptive Server Enterprise.
Sybase
"TRUNCNUM function" on page 373
Returns a string with trailing blanks removed.
RTRIM ( string-expression )
string-expression
The string to be trimmed.
The following statement returns the string Test Message, with all trailing
blanks removed.
SELECT RTRIM( 'Test Message
♦
SQL/92
Vendor extension.
♦
Compatible with Adaptive Server Enterprise.
Sybase
"LTRIM function" on page 347
Returns a number from 0 to 59 corresponding to the second component of
the given datetime value.
SECOND ( datetime-expression )
datetime-expression
The following statement returns the value 21.
SELECT SECOND( '1998-07-13:21:21:25' )
♦
Vendor extension.
SQL/92
♦
Compatible with Adaptive Server Enterprise.
Sybase
Returns the number of seconds since an arbitrary date and time, between two
times, or adds an integer amount of seconds to a time.
Chapter 8 SQL Functions
' )
The datetime value.
363
Need help?
Do you have a question about the Adaptive Server Anywhere and is the answer not in the manual?
Questions and answers