On Tue, Jul 27, 2004 at 10:56:09PM -0700, Al Danial wrote: > Great, that fits the bill perfectly, thanks! > > I know you mentioned the code is incomplete but the usage instructions > don't match the executable's behavior: the third command line argument > (the SQL command, or argv[2]) isn't used by the code. The interactive mode > works great though, and demonstrates the prepare/step/finalize method > very clearly. > > It would be cool if sqlite came with an examples/ subdirectory that > contained this program (or ones like it). Examples can often explain > things so much more easily than text descriptions of functions. > -- Al > >
Yes, I was going to use argv[2] for a binary file name, to be used with a sqlite3_bind_blob example. Mike Chirico