length
最近更新时间: 2025-02-18 16:02:00
获取字符长度。
postgres=# select length(1);
length
--------
1
(1 row)
postgres=# select length('tbase');
length
--------
5
(1 row)
postgres=# select length('阿弟');
length
--------
2
(1 row)
postgres=# select length(12.12::numeric(10,2));
length
--------
5
(1 row)