VSIZE(X)
返回 X 的大小(字节)数。
x 字符串
数字值
SQL> select vsize(user), user from dual; VSIZE(USER) USER ----------- ------------------------------ 3 SYS SQL> select length('adfad合理') "bytesLengthIs" from dual; bytesLengthIs ------------- 7 SQL> select lengthb('adfad') "bytesLengthIs" from dual; bytesLengthIs ------------- 5 SQL> select lengthb('adfad合理') "bytesLengthIs" from dual; bytesLengthIs ------------- 9 SQL> select vsize('adfad合理') "bytesLengthIs" from dual; bytesLengthIs ------------- 9 SQL> select lengthc('adfad合理')"bytesLengthIs" from dual; bytesLengthIs ------------- 7