| Oracle8i SQL Reference Release 2 (8.1.6) A76989-01 |
|
Functions, 92 of 121
SUBSTRB is the same as SUBSTR, except that the arguments m and n are expressed in bytes, rather than in characters. For a single-byte database character set, SUBSTRB is equivalent to SUBSTR.
Floating-point numbers passed as arguments to SUBSTRB are automatically converted to integers.
Assume a double-byte database character set:
SELECT SUBSTRB('ABCDEFG',5,4.2) "Substring with bytes" FROM DUAL; Substring with bytes -------------------- CD
|
|
![]() Copyright © 1999 Oracle Corporation. All Rights Reserved. |
|