Re: [sqlite] BLOB help please

2006-11-04 Thread mithin
True, I forgot to tell the size to QByteArray. It works fine now. Thanks a lot. -- View this message in context: http://www.nabble.com/BLOB-help-please-tf2573627.html#a7176466 Sent from the SQLite mailing list archive at Nabble.com. ---

[sqlite] BLOB help please

2006-11-04 Thread mithin
Hi, I have pictures, that I need to insert into a SQLite database and then retrieve later. I am using the following code, but it is not working. //INSERTING INTO THE DATABASE statement = "INSERT INTO photo_details VALUES(NULL,?,?);";//statement is QString. Similar to string err = sqlite3_prepar