Getting the length in characters of a blob sub_type text

17 views
Skip to first unread message

Mark Rotteveel

unread,
Jun 2, 2025, 7:47:59 AM6/2/25
to firebir...@googlegroups.com
Is there a way to get the length in characters of a blob sub_type text
with only the blob id? Preferably, with an API / wire protocol call, and
not resorting to having to execute SQL.

Specifically, I'm looking at being able to fulfill JDBC's
java.sql.Clob.length() for UNICODE_FSS/UTF8 and potentially other
variable length character sets without having to resort to materializing
the entire blob locally to determine the number of characters.

Mark
--
Mark Rotteveel

Reply all
Reply to author
Forward
0 new messages