Thanks Bert, You are right. Now the C++ example runs equaly fast. Looks like I have to redesign the Db schema.
With regards, Peter >Where do you perform the query in the C++ code? > >Your C++ program shows how you prepare the statement 5000 times, but not how >you execute it. > >The VB.Net code prepares the statement once, and then executes it 5000 times. > > >It looks like you are testing completely different things. > > Bert _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users