SQL/MX 3.1 Reference Manual (H06.23+, J06.12+)

SQL/MX Functions and Expressions
HP NonStop SQL/MX Release 3.1 Reference Manual663850-001
9-3
Character String Functions
See the individual entry for the function.
POSITION Function on
page 9-126
Returns the position of a specified substring within a
character string. You can also use LOCATE.
REPEAT Function
on
page 9-140
Returns a character string composed of the evaluation
of a character expression repeated a specified number
of times.
REPLACE Function
on
page 9-141
Returns a character string where all occurrences of a
specified character string in the original string are
replaced with another character string.
RIGHT Function
on page 9-142 Returns the rightmost specified number of characters
from a character expression.
RPAD Function
on page 9-145 Replaces the rightmost specified number of characters
in a character expression with a padding character.
RTRIM Function
on page 9-147 Removes the specified characters from the right of the
character string.
SPACE Function
on page 9-165 Returns a character string consisting of a specified
number of spaces.
SUBSTRING Function
on
page 9-169
Extracts a substring from a character string.
TO_CHAR(<NUMERIC>)
Function on page 9-176
Converts a numeric data to VARCHAR as per the
specified format.
TO_CHAR(<DATETIME>)
Function on page 9-180
Converts datetime data to VARCHAR as per the
specified format.
TRIM Function
on page 9-187 Removes the specified characters from the left side, the
right side, or both sides of a character string.
UCASE Function
on page 9-188 Upshifts single-byte characters. You can also use
UPSHIFT or UPPER.
UPPER Function
on page 9-196 Upshifts single-byte characters. You can also use
UPSHIFT or UCASE.
UPSHIFT Function
on
page 9-197
Upshifts single-byte characters. You can also use
UPPER or UCASE.