-2

i have a table where i am saving images as blob

now the issue is, how can i get the size of the blob in each tuple.

is there any query to do so?

Saswat
  • 12,320
  • 16
  • 77
  • 156

2 Answers2

1

Try

SELECT OCTET_LENGTH(blob_content) FROM test_blob WHERE id = 1
Sreeraj
  • 316
  • 1
  • 8
0

Use SELECT OCTET_LENGTH(blob_tablename) FROM...

alphawow
  • 390
  • 2
  • 7