Code_Value Function; Example Of Code_Value Function - HP Neoview SQL Reference Manual

Hide thumbs Also See for Neoview SQL:
Table of Contents

Advertisement

CODE_VALUE Function

The CODE_VALUE function returns an unsigned integer (INTEGER UNSIGNED) that is the
code point of the first character in a character value expression that can be associated with one
of the supported character sets. For more information on the Neoview character set configurations,
see the Neoview Character Sets Administrator's Guide.
CODE_VALUE is a Neoview SQL extension.
CODE_VALUE(character-value-expression)
_character-set
character-value-expression
is a character string.

Example of CODE_VALUE Function

This function returns 97 as the result:
>>select code_value('abc') from (values(1))x;
(EXPR)
----------
97
CODE_VALUE Function
363

Advertisement

Table of Contents
loading

Table of Contents