Re: [sqlite] I want to this project but I need help..

2008-02-19 Thread D. Richard Hipp
On Feb 19, 2008, at 11:46 PM, Cesar D. Rodas wrote: > I want to know if some one had the althttp.c quoted here > http://www.mail-archive.com/sqlite-users@sqlite.org/msg14449.html. > http://www.sqlite.org/docsrc/finfo?name=misc/althttpd.c The link above probably won't work until you login.

[sqlite] I want to this project but I need help..

2008-02-19 Thread Cesar D. Rodas
Hello, I was looking to the sqlite website after a long time and it looks very great, it had growth notably and my congratulations for SQLite Consortium. Well before I begin explaining my idea I want to know if some one had the althttp.c quoted here

[sqlite] Data Recovery - Unvacumed DB - OS X Address Book

2008-02-19 Thread Joshua Galvez
Twice recently, on different computers I've had clients lose their OS X Address Book. Alas, they've not had backups. I've been able to track down much of their data still remains in an sqlite3 data.syncdb file. But when I access the DB, I find that tables with the actual contacts have

Re: [sqlite] Composite primary key?

2008-02-19 Thread drh
Rael Bauer <[EMAIL PROTECTED]> wrote: > Hi, > > > 1. with sqlite Is it possible to have a primary key made up of 2 fields? > (If so how...) > (from firebird: > ALTER TABLE "table1" ADD CONSTRAINT PK_TABLE1 PRIMARY KEY > ("field1","field2");) > > > 2. Is it possible to add a

[sqlite] Please test lastest CVS using WinCE

2008-02-19 Thread drh
Can somebody with the ability to compile and test for wince please test check-in [4802] for me. http://www.sqlite.org/cvstrac/chngview?cn=4802 For that matter, is there anybody out there who would like to become the official wince maintainer for SQLite? If you are able to compile, test, and

Re: [sqlite] Given sqlite3_enable_load_extension(), why omit loadable extensions?

2008-02-19 Thread Michael Ruck
I believe the configure script is not maintained. It probably needs more patches than this. Mike -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Nicolas Williams Gesendet: Mittwoch, 20. Februar 2008 00:19 An: General Discussion of SQLite

Re: [sqlite] Given sqlite3_enable_load_extension(), why omit loadable extensions?

2008-02-19 Thread Michael Ruck
This is most likely done to reduce compiled code size. For a lot of systems this code probably is wasted space, as the feature is not used everywhere. For embedded systems the ability to simply cut features at compile time to reduce code size is very important. Mike -Ursprüngliche

Re: [sqlite] fts2, fts3 and stemming

2008-02-19 Thread Scott Hess
On Tue, Feb 19, 2008 at 2:08 PM, Bryan Oakley <[EMAIL PROTECTED]> wrote: > On Feb 19, 2008 3:59 PM, Scott Hess <[EMAIL PROTECTED]> wrote: > > On Tue, Feb 19, 2008 at 1:49 PM, Bryan Oakley <[EMAIL PROTECTED]> wrote: > > > Also, I've seen references to fts3 -- is there a compelling reason for >

[sqlite] Given sqlite3_enable_load_extension(), why omit loadable extensions?

2008-02-19 Thread Nicolas Williams
I searched and found that SQLITE_OMIT_LOAD_EXTENSION is defined by default to protect applications that might otherwise unwittingly allow SQL that loads extensions. I understand that, but, by default extensions cannot be loaded until sqlite3_enable_load_extension() is called to enable them. So

Re: [sqlite] Finding table names

2008-02-19 Thread BareFeet
Hi Toby, > I'm using the C++ API (although I'm not sure this matters), and need > the > names of all the tables I've put in the database (user tables?). > > From a quick google, it would appear I might need to use system tables > or something like this, but I'm not too sure how to do this.

Re: [sqlite] fts2, fts3 and stemming

2008-02-19 Thread Bryan Oakley
On Feb 19, 2008 4:08 PM, Bryan Oakley <[EMAIL PROTECTED]> wrote: > Is fts3 built-in to sqlite? I don't build my own -- I use the tcl > bindings and just download a binary. I'm too stingy to buy a microsoft > compiler :-\ You would think after so many years in the industry I'd learn to spend 5

Re: [sqlite] Finding table names

2008-02-19 Thread Igor Tandetnik
Toby Roworth <[EMAIL PROTECTED]> wrote: > I'm using the C++ API (although I'm not sure this matters), and need > the names of all the tables I've put in the database (user tables?). select name from sqlite_master where type='table'; Igor Tandetnik

[sqlite] Finding table names

2008-02-19 Thread Toby Roworth
I'm using the C++ API (although I'm not sure this matters), and need the names of all the tables I've put in the database (user tables?). From a quick google, it would appear I might need to use system tables or something like this, but I'm not too sure how to do this. Sorry if I sent this

Re: [sqlite] fts2, fts3 and stemming

2008-02-19 Thread Scott Hess
On Tue, Feb 19, 2008 at 1:49 PM, Bryan Oakley <[EMAIL PROTECTED]> wrote: > My code uses fts2, and for the first time today I discovered that no > stemming appears to be going on under the covers. Googling around I > see that I need to add "tokenize porter" when creating my table. > Adding that

[sqlite] fts2, fts3 and stemming

2008-02-19 Thread Bryan Oakley
I'm revisiting a project I started a while ago, and have a question about the FTS module(s). I haven't had my head wrapped around SQLite in a long time -- I wrote the code, it works, and that's all I've had to think about it for over year. So forgive me if I'm asking a common question. My code

[sqlite] SQLite compile hanging on Mac OS X Tiger Server

2008-02-19 Thread P Kishor
On 10.4.11 server (PPC), I am trying to build amalgamation 3.5.6. It hangs on make server2:/usr/local/src/sqlite-3.5.6 punkish$ make if /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.5.6\" -DPACKAGE_STRING=\"sqlite\

Re: [sqlite] what platforms does SQLite run on?

2008-02-19 Thread Bruce Alderson
[EMAIL PROTECTED] wrote: > Honestly, the last time I did a WinCE compile was before the amalgamation, so > I did not realize it had become so easy to compile for WinCE. Guess I'll be > needing to make a new build when I get home tonight :) > > From: "Fin Springs" <[EMAIL PROTECTED]> > >>>

Re: [sqlite] SQLite Like Query Optimization

2008-02-19 Thread Kalyani Phadke
I have downloaded the amalgamation . I used devC++ builder/compiler by bloodshed software. The steps I took to compile the project 1. Create SQLite3 Project 2. Add files to project (sqlite3.c,sqlite3.h,sqlite3ext.h) 3.Go to Project -project options 4.Under Compiler tab ,select

Re: [sqlite] what platforms does SQLite run on?

2008-02-19 Thread Nuno Lucas
On Feb 19, 2008 3:10 PM, Fin Springs <[EMAIL PROTECTED]> wrote: > > Here's a link to an WinCE port: http://sqlite-wince.sourceforge.net/ > Is there a reason to use this port any more? The straight 3.5.6 > amalgamation compiles and runs fine for me on Windows CE 5.0 and > includes specific '#if

Re: [sqlite] what platforms does SQLite run on?

2008-02-19 Thread epankoke
Honestly, the last time I did a WinCE compile was before the amalgamation, so I did not realize it had become so easy to compile for WinCE. Guess I'll be needing to make a new build when I get home tonight :) -- Eric Pankoke Founder / Lead Developer Point Of Light Software

Re: [sqlite] Using a UUID as a key

2008-02-19 Thread drh
"David A. Cobb" <[EMAIL PROTECTED]> wrote: > It appears that, given SQLite's Manifest Typing, the appropriate type of > a UUID -- 16bytes, binary -- would be BLOB. One would not want to try > converting the ID to anything, if only for the cost in time. > > Can a BLOB be the Primary Key for a

[sqlite] Using a UUID as a key

2008-02-19 Thread David A. Cobb
It appears that, given SQLite's Manifest Typing, the appropriate type of a UUID -- 16bytes, binary -- would be BLOB. One would not want to try converting the ID to anything, if only for the cost in time. Can a BLOB be the Primary Key for a table? TIA

Re: [sqlite] Easy question concerning C++ & sqlite3

2008-02-19 Thread Dennis Cote
vl.pavlov wrote: > > C++ aplication should put words into sqlite3 database, but if word that > should be put into the dbase is already in the table of the dbase it should > increase the number which is in the second column of the same row. how? > > eg: > coffee | 3 > milk | 1 > > ... > > i use

Re: [sqlite] what platforms does SQLite run on?

2008-02-19 Thread Fin Springs
> Here's a link to an WinCE port: http://sqlite-wince.sourceforge.net/ Is there a reason to use this port any more? The straight 3.5.6 amalgamation compiles and runs fine for me on Windows CE 5.0 and includes specific '#if OS_WINCE' sections for CE (to define localtime, etc).

[sqlite] SQLITE_OPEN_DELETEONCLOSE == SQLITE_READONLY

2008-02-19 Thread Jos van den Oever
Hi all, While playing around with sqlit3_open_v2, I was unpleasantly surprised to find that my (test) database was deleted after opening it. It turned out I was using sqlite3_open_v2("test.db", , SQLITE_READONLY, 0); instead of sqlite3_open_v2("test.db", , SQLITE_OPEN_READONLY, 0); Digging

[sqlite] Easy question concerning C++ & sqlite3

2008-02-19 Thread vl.pavlov
hello 2 all C++ aplication should put words into sqlite3 database, but if word that should be put into the dbase is already in the table of the dbase it should increase the number which is in the second column of the same row. how? eg: coffee | 3 milk | 1 ... i use standard functions from

[sqlite] ANN: AnySQL Maestro released (freeware cross-database tool)

2008-02-19 Thread SQL Maestro Group
SQL Maestro Group announces the release of AnySQL Maestro - a freeware, but powerful tool for all the database engines accessible via ODBC driver or OLE DB provider (Access, SQL Server, Firebird, Oracle, MySQL, PostgreSQL, SQLite, etc). http://www.sqlmaestro.com/products/anysql/maestro/ AnySQL

Re: [sqlite] what platforms does SQLite run on?

2008-02-19 Thread noel frankinet
Sam Carleton a écrit : > I see that SQLite runs on Windows, OSX, and *NIX, will it run on > Windows Mobile (CE) or any embedded OS's? > It runs on any CE that I know Noel > Sam > ___ > sqlite-users mailing list > sqlite-users@sqlite.org >

[sqlite] what platforms does SQLite run on?

2008-02-19 Thread Sam Carleton
I see that SQLite runs on Windows, OSX, and *NIX, will it run on Windows Mobile (CE) or any embedded OS's? Sam ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users