Character String Functions - HP Neoview SQL Reference Manual

Hide thumbs Also See for Neoview SQL:
Table of Contents

Advertisement

include a GROUP BY clause but you specify an aggregate function in the select list, all rows of
the SELECT result table form the one and only group.
See the individual entry for the function.

Character String Functions

These functions manipulate character strings. These functions use a character value expression
as an argument or return a result of character data type:
"ASCII Function" (page 289)
"CHAR Function" (page 301)
"CHAR_LENGTH Function" (page 302)
"CODE_VALUE Function" (page 304)
"CONCAT Function" (page 305)
"INSERT Function" (page 345)
"LCASE Function" (page 349)
"LEFT Function" (page 350)
"LOCATE Function" (page 351)
"LOWER Function" (page 354)
"LPAD Function" (page 359)
"LTRIM Function" (page 360)
"OCTET_LENGTH Function" (page 380)
"POSITION Function" (page 383)
"REPEAT Function" (page 390)
"REPLACE Function" (page 390)
"RIGHT Function" (page 391)
"RPAD Function" (page 394)
"RTRIM Function" (page 395)
"SPACE Function" (page 407)
"SUBSTRING/SUBSTR Function" (page 411)
"TRANSLATE Function" (page 417)
280
SQL Functions and Expressions
Returns the ASCII code value of the first character of a
ISO88591 character value expression.
Returns the specified code value in a character set.
Returns the number of characters in a string. You can also
use CHARACTER_LENGTH.
Returns an unsigned integer that is the code point of the
first character in a character value expression that can be
associated with any character sets allowed.
Returns the concatenation of two character value
expressions as a string value. You can also use the
concatenation operator (||).
Returns a character string where a specified number of
characters within the character string have been deleted
and then a second character string has been inserted at a
specified start position.
Downshifts characters. You can also use LOWER.
Returns the leftmost specified number of characters from
a character expression.
Returns the position of a specified substring within a
character string. You can also use POSITION.
Downshifts single-byte characters. You can also use
LCASE.
Replaces the leftmost specified number of characters in a
character expression with a padding character.
Removes leading spaces from a character string.
Returns the length of a character string in bytes.
Returns the position of a specified substring within a
character string. You can also use LOCATE.
Returns a character string composed of the evaluation of
a character expression repeated a specified number of
times.
Returns a character string where all occurrences of a
specified character string in the original string are replaced
with another character string.
Returns the rightmost specified number of characters from
a character expression.
Replaces the rightmost specified number of characters in
a character expression with a padding character.
Removes trailing spaces from a character string.
Returns a character string consisting of a specified number
of spaces.
Extracts a substring from a character string.
Translates a character string from a source character set
to a target character set.

Advertisement

Table of Contents
loading

Table of Contents