RIGHT
Purpose
This function returns the right-aligned substring of string
with length length
.
Syntax
right::=
Usage Notes
- If either
length
orstring
isNULL
, thenNULL
is returned. - Also if
length
is greater than the length ofstring
, the originalstring
is returned. If length is negative or0
, thenNULL
is returned. - For more information, see functions SUBSTR[ING], MID and LEFT.