RE: [sqlite] What wrapper for SQLite?

2006-06-19 Thread Costas Stergiou
> Hello, > > I need a server-less SQL engine. Unless someone recommends a better tool > (embedded FireBird? Something else?), I'm thinking of using SQLite. > > Problem is, several wrappers are listed in the SQLite wiki. Can you > recommend one, ideally under active development, easy to use, etc.

Re: [sqlite] SQLite performance for 10 Million Records

2006-06-19 Thread Manzoor Ilahi Tamimy
Here Is The Schema For these Tables. CREATE TABLE HVH ( Field1 VARCHAR(8), IDC VARCHAR(4), Field3 VARCHAR(2), Field4 VARCHAR(4), Field5 VARCHAR(7), Field6 VARCHAR(8), Field7 VARCHAR(1), Field8 FLOAT); CREATE TABLE ITM( IDC VARCHAR(4),ITEMNAME VARCHAR(20),

[sqlite] Patches for 3.3.6

2006-06-19 Thread Albert Chin
Attached are some patches against sqlite-3.3.6: [configure.ac] 1. The result of AC_MSG_CHECKING([switches on the target compiler]) should be printed before the call to AC_PROG_RANLIB to avoid: checking switches on the target compiler... checking for ranlib... 2. Why

Re: [sqlite] SQLite performance for 10 Million Records

2006-06-19 Thread Brett Wilson
count(*) is pretty slow in sqlite because it basically does select * and then counts the results. This means it's looking through your whole big file. You can come up with some tricks like keeping a separate count up-to-date with triggers. There have been some old threads on optimizing count

Re: [sqlite] SQLite performance for 10 Million Records

2006-06-19 Thread Manzoor Ilahi Tamimy
Dear ALL, I am really thankful to Bill King, Micha Bieber , Derrell for your valuable suggestions. I was really confused that which way should I follow now, because I was sure that SQLite will work much better. when I got the suggestion about Firebird then again I went to the comparison page

Re: [sqlite] new file / existing table testing.

2006-06-19 Thread Dennis Cote
Tony Harris wrote: Now my question is - since the open function will create a new file without throwing back any error stating that a new file was created, I am now faced with the problem of how do I check if a table is there or not? Do I just make a call to create_table and if it throws

Re: [sqlite] ALTER table command

2006-06-19 Thread Clark Christensen
Assuming a schema like: create table t1 (a,b); Add another column, "c" alter table t1 add column c; -Clark - Original Message From: Anish Enos Mathew <[EMAIL PROTECTED]> To: sqlite-users@sqlite.org Sent: Monday, June 19, 2006 12:42:46 AM Subject: [sqlite] ALTER table command Hi

Re: [sqlite] SQLite performance for 10 Million Records

2006-06-19 Thread Derrell . Lipman
Bill King <[EMAIL PROTECTED]> writes: > Manzoor Ilahi Tamimy wrote: > >> We are Using SQLite for one of our project. >> >>The Database Size is more than 500 MB. >>It contain one table and about 10 million Records. > Err, for that size, I'd recommend going something heavier, like > firebird.

Re: [sqlite] compiling sqlite

2006-06-19 Thread Nuno Lucas
On 6/19/06, Robin Cook <[EMAIL PROTECTED]> wrote: Is it possible to compile sqlite on embedded visual c 3.0 for wince 2.11 without MFC and TCL/TK on a Symbol PDT7242 barcode scanner. You should be able to use the 2.8.16 source in the sqlite-wince.sf.net site (maybe with one or other tweak as

Re: [sqlite] SQLite performance for 10 Million Records

2006-06-19 Thread Micha Bieber
Monday, June 19, 2006, 07:37:22, Manzoor Ilahi Tamimy wrote: > The Database Size is more than 500 MB. > It contain one table and about 10 million Records. I had problems with even more records (roughly 25 million, > 1GB of data) and I've stopped efforts to do it in pure sqlite in the end, also

Re: [sqlite] ALTER table command

2006-06-19 Thread John Newby
http://www.sqlite.org/faq.html#q13 Hi, SQLite FAQ recommends creating temp tables and copying the data from the original table into it then deleting the old table then recreating the old table (with the desired new column) then copying the data back and deleting the temp table. On 19/06/06,

[sqlite] ALTER table command

2006-06-19 Thread Anish Enos Mathew
Hi all, Any body knows how to use ADD [COLUMN] in alter table command? I want to add a new field to my table. Can "modify " be used with alter command as in SQL? The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of

Re: [sqlite] SQLite performance for 10 Million Records

2006-06-19 Thread Bill King
Manzoor Ilahi Tamimy wrote: Hello All, We are Using SQLite for one of our project. The Database Size is more than 500 MB. It contain one table and about 10 million Records. We are facing Problem in the select with single Join. The join is between a big table and a small table. The small

[sqlite] SQLite performance for 10 Million Records

2006-06-19 Thread Manzoor Ilahi Tamimy
Hello All, We are Using SQLite for one of our project. The Database Size is more than 500 MB. It contain one table and about 10 million Records. We are facing Problem in the select with single Join. The join is between a big table and a small table. The small table contain records not more