Isn't this what you are looking for? http://www.sqlite.org/capi3ref.html#sqlite3_column_bytes" If the result is a BLOB then the sqlite3_column_bytes() routine returns the number of bytes in that BLOB. "Or do you really need it inside an SQL statement?
that's right! I'm not using SQLite C API. I'm using a .NET wrapper.I don't see how I could could call this function in a pratical way from the wrapper...