Hi
If I create an in-memory database (by opening with ":memory:"), then add
tables etc to it, is it possible to then write it to a disk file so it can
subsequently be used as a file-based db?
Thanks
--
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.476 / Virus Datab
Hi
If I have a table with a couple of indexed varchar fields e.g:
CREATE TABLE t (id INT, a VARCHAR(20), b VARCHAR(20)...);
CREATE INDEX ia ON t(a);
CREATE INDEX ib ON t(b);
then will the sqlite query optimizer use these indices in these SELECT's:
1. SELECT * FROM t WHERE a LIKE 'M%';
2. SELEC
Hi
If I have a table with a couple of indexed varchar fields e.g:
CREATE TABLE t (id INT, a VARCHAR(20), b VARCHAR(20)...);
CREATE INDEX ia ON t(a);
CREATE INDEX ib ON t(b);
then will the sqlite query optimizer use these indices in these SELECT's:
1. SELECT * FROM t WHERE a LIKE 'M%';
2. SELEC
select count(*) from pb where name < 'John Smith';
Thx... duh guess I should have thought of that.
--
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.476 / Virus Database: 269.10.6/902 - Release Date: 15/07/2007 14:21
Hi
Assume I have a simple table for a phone directory - names, addresses, and
phone numbers etc.
Then assume this is a vast table with many millions of records, and that
there are indices on name, phone number, etc.
Then assume I'm writing an app that displays the entire directory in a
win
5 matches
Mail list logo