Re: [sqlite] Fetch whole result set to memory

2009-07-10 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eberhard, Markus (external) wrote: > In other > words: minimize the number of accesses to database file (but I'm not > sure if this is possible). You could use the SQLite backup API to read the entire file into :memory: (quickly and sequentially)

Re: [sqlite] Fetch whole result set to memory

2009-07-10 Thread Eberhard, Markus (external)
> > Eberhard, Markus (external) wrote: > > I'm using SQLite in my application and I would like to fetch the whole > > result set of a select statement to memory. > > I can't use sqlite3_get_table since it doesn't support BLOBs as far > > as I know. > > Currently I'm using function sqlite3_step

Re: [sqlite] Fetch whole result set to memory

2009-07-09 Thread Igor Tandetnik
Eberhard, Markus (external) wrote: > I'm using SQLite in my application and I would like to fetch the whole > result set of a select statement to memory. > I can't use sqlite3_get_table since it doesn't support BLOBs as far > as I know. > Currently I'm using

[sqlite] Fetch whole result set to memory

2009-07-09 Thread Eberhard, Markus (external)
Hi, I'm using SQLite in my application and I would like to fetch the whole result set of a select statement to memory. I can't use sqlite3_get_table since it doesn't support BLOBs as far as I know. Currently I'm using function sqlite3_step to itterate through the result set; that function calls