更新时间:2025-05-29 GMT+08:00

编码类型转换

convert_to_nocase(text, text)

描述:将字符串转换为指定的编码类型。

返回值类型:bytea

示例:

1
2
3
4
5
gaussdb=# SELECT convert_to_nocase('12345', 'GBK');
 convert_to_nocase 
-------------------
 \x3132333435
(1 row)