LENGTH(a)
LENGTH(a)
is an arithmetic
function that specifies the number of characters or bytes that
are required to represent the expression a
internally.
The function can be applied to all data types (including LOB).
a |
Result of the LENGTH(a) function |
|---|---|
|
Number of characters |
|
Length |
|
|
|
Special |
The number of characters or the length in bytes is determined without
taking into account any trailing blank characters (code
attribute ASCII
, UNICODE
)
or binary zeros (code attribute BYTE
).
SQL Tutorial, Information About Character Strings