Re: [sqlite] blob c/c++ sample code

2009-07-09 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wayne Anderson wrote: > I'm unclear about several things, but chief among them is how to set > the initial size of a blob. If you are using SQL then use: INSERT into foo values(zeroblob(12345)) If you are using bindings with a statement like:

[sqlite] blob c/c++ sample code

2009-07-09 Thread Wayne Anderson
Hello, I'm converting an old application file format to use SQLite as a back end. For several sections of the file data I will need to use blobs. I'm unclear about several things, but chief among them is how to set the initial size of a blob. The documentation indicates that you need