Well that is very disappointing :-(
 
Not being able to extract a portion of a BLOB from a result set without
having the complete BLOB in memory makes it impractical to use BLOBs in
SQLite in a database independent manner.

Its a shame that a BLOB handle is not returned as a result of a query
rather than the BLOB itself.

Thanks for the clarification anyway.

Cheers, Mark

On Mon, 2009-12-28 at 21:17 -0500, Igor Tandetnik wrote:
> Zaher Dirkey wrote:
> > If i want to extract BLOB to a file that mean it is must the whale
> > blob be loaded to memory before can save it?
> 
> No, not with BLOB I/O. But you have to be careful: don't mention the BLOB 
> field in your SELECT statement, retrieve the ROWID instead. Then use it in 
> sqlite3_blob_open call.
> 
> Igor Tandetnik
> 
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


-- 

* Mark Hessling, m...@rexx.org http://www.rexx.org/ 
* Author of THE, a Free XEDIT/KEDIT editor, Rexx/SQL, Rexx/CURL,  etc. 
* Maintainer of Regina Rexx interpreter and Rexx/Tk 
* Use Rexx? join the Rexx Language Association: http://www.rexxla.org/ 

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to