Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Size of a blob field in Firebird

Tags:

firebird

Is there a way to retrieve (using a select statement) the size of a blob field in Firebird??

I've a field called "data" and I'd like to know the total size of all the records in the table.

Thanks.

like image 529
pablo Avatar asked Jan 21 '11 14:01

pablo


1 Answers

I think you can use the OCTET_LENGTH() function.

You should also look at this answer it should be helpful.

like image 91
bruno Avatar answered Sep 28 '22 06:09

bruno