[sqlite] RE: [RBL] Re: [sqlite] XML to SQLite upload

2006-05-07 Thread Steve O'Hara
This is the right approach, when I worked in the SGML world with a component versioning system, we called it the non-linear design. By going down this road, your table schema is static and can cope with any type of DTD without change. However, you need to create a tool that will convert your XML

[sqlite] RE: [RBL] RE: [sqlite] Writing wrappers?

2006-02-27 Thread Steve O'Hara
In most cases (but not all - C++,Delphi) yes. A wrapper is a lump of C code that bridges the SQLite environment with your own specific language. I just did a bit of research for you and found that Frontier uses a scripting language called UserTalk to allow users to interact with it. It also

[sqlite] RE: [RBL] Re[2]: [sqlite] R: [sqlite] Snapshot database creation performance

2006-02-07 Thread Steve O'Hara
Hi Teg, Presumably you have a transaction in place around the whole of your inserts and that you have the PRAGMA synchronous = OFF; set. Have you looked at perhaps not creating the database on the server, but merely creating the INSERT statements in one big file that you compress and send down

[sqlite] RE: [RBL] Re: [sqlite] ANN: SQLiteSpy 1.5.1 released

2006-02-03 Thread Steve O'Hara
Hi Ralf, SqliteSpy is a nice tool but this is a weakness, not a strength - we used to call this sort of thing built-in obsolescence. Woudn't it be better for you if you didn't have to track changes made by Richard to the engine? This is also a problem with quite a few of the wrappers that embed

RE: [sqlite] RE: [RBL] Re: [sqlite] Sqlite and Java

2006-01-22 Thread Steve O'Hara
page. With all of our advances in programming we still have not evolved that perfect language, and most likely never will. I spite of what those C guys tell you :-) Fred -Original Message- From: Steve O'Hara [mailto:[EMAIL PROTECTED] Sent: Saturday, January 21, 2006 7:37 AM To: sqlite

[sqlite] RE: [RBL] Re: [sqlite] Sqlite and Java

2006-01-21 Thread Steve O'Hara
I did loads of research on this and even tinkered with a c to Java converter, which got me a little bit further forward. However, I realised that I would be facing a huge effort to create the code base and then have to support it within our projects. So despite being an SQLite zealot, I had to

[sqlite] RE: [RBL] Re: [sqlite] Randomly ordering results

2006-01-17 Thread Steve O'Hara
Jay, If you're going to offer advice, at least do some basic research to make sure it's accurate. Firstly, having a column that has a random number in it and sorting by it produces the same output each time you query on it - obviously unsatisfactory and I would have thought, manor from heaven for

[sqlite] RE: How to compile sqlite with VC6?

2006-01-11 Thread Steve O'Hara
There is a package in the SqliteWrappers WIKI to download that does all this - http://www.pivotal-solutions.co.uk/downloads/company/pssqlite.zip It's a nice VC6 DLL wrapper for VB6 Java with source code. Dynamically binds to the sqlite.dll and sqlite3.dll at runtime so you don't need to

[sqlite] RE: [RBL] [sqlite] JDBC driver

2006-01-04 Thread Steve O'Hara
Just a word of advice, make your binding to SQLite dynamic - it's more code but ultimately you won't have to keep releasing new versions of your driver everytime SQLite changes. Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] rg] On Behalf Of gnorman22 Sent: 31

RE: [sqlite] SQLite as a Windows kernel tool

2005-10-31 Thread Steve O'Hara
Fred, They are not nit-picking and they are actually contributing to the robustness of the application by doing this research. Your anti-Microsoft bigotry does no service to this list at all and is neither a contribution or an offer of help. I for one would be keen to see these warnings

[sqlite] Convert SQLite to Java

2005-10-24 Thread Steve O'Hara
I have used SQLite in a whole bundle of applications and I love it. However, I've got an app that's being written in Java - I've got a JNI library (Solaris Windows) for SQLite, but I really want something platform independent. I've been worn down by my quest for a comparable product to SQLite

RE: [sqlite] Convert SQLite to Java

2005-10-24 Thread Steve O'Hara
to Java On Mon, Oct 24, 2005 at 09:58:53PM +0100, Steve O'Hara wrote: I've been worn down by my quest for a comparable product to SQLite written in pure Java and have come to the conclusion that it doesn't exit. I've looked at Derby, QED, Axion, blah blah and I'm not too My next port of call

RE: [sqlite] Upcoming Conferences

2005-10-10 Thread Steve O'Hara
Hey, why not use the SQLite based spellchecker at http://www.pivotal-solutions.co.uk/spellcheck/ I know it says it's for sale but we're going to start giving it away in the next few weeks. Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] rg] On Behalf Of

RE: [sqlite] Speed Test Done !

2005-10-06 Thread Steve O'Hara
Your speed comparison is deeply flawed... Your select statement is non-sensical (it returns 2 columns, A and '32.0883' with 9,337,681 records and you haven't told us if you're using PRAGMA synchronous = OFF;? Assuming you do a proper search like select * from T where A='32.0883'; you should

RE: [sqlite] Data Manipulation ?

2005-09-26 Thread Steve O'Hara
Here's a way to go with pure SQL; create table cars (recid,qty,make,model,year,engine,color,state,price); create table states (abbr,name); insert into states values(ca,California); insert into cars values(1,5,Ford,Bandit,2005,2000,Red,ca,5000); select make,(select name from states where

RE: [sqlite] Intro SQL ?

2005-09-14 Thread Steve O'Hara
Richard, Not everything in life is free or immediate. If you're going to do some decent SQL you need to invest in a reference manual - my favourite SQL primer is The Practical SQL Handbook from Addison-Wesley Publishing ISBN 0-201-62623-3 My edition is acient but well worth the 20 quid

RE: [sqlite] Index and General Optimization Question

2005-08-12 Thread Steve O'Hara
Why don't you create and a very small version of the database, create the indices and use the EXPLAIN command to see what it does for your queries. Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] rg]On Behalf Of John Sample Sent: 12 August 2005 16:18 To:

RE: [sqlite] sqlite with visual basic?

2005-08-11 Thread Steve O'Hara
Check out the WIKI, there's a myriad of possibilities. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] rg]On Behalf Of Scott Chapman Sent: 11 August 2005 18:43 To: sqlite-users@sqlite.org Subject: [sqlite] sqlite with visual basic? I am having a look at Visual

RE: AW: [sqlite] VB6 question

2005-07-29 Thread Steve O'Hara
Borror Gregory Letellier [EMAIL PROTECTED] wrote: all the wrapper ar for 2.8 and i wan't use the 3.0 anyone known 3.0 wrapper ? Steve O'Hara a écrit : Don't want to dampen your enthusiasm for this route but. why do you think there are so many VB wrappers for SQLite? It's because you can't use

RE: AW: [sqlite] VB6 question

2005-07-28 Thread Steve O'Hara
Don't want to dampen your enthusiasm for this route but. why do you think there are so many VB wrappers for SQLite? It's because you can't use the SQLite DLL directly from VB - some functions will work but the essential ones won't. It's because the DLL returns things like pointers to arrays

RE: AW: [sqlite] VB6 question

2005-07-28 Thread Steve O'Hara
the 3.0 anyone known 3.0 wrapper ? Steve O'Hara a écrit : Don't want to dampen your enthusiasm for this route but. why do you think there are so many VB wrappers for SQLite? It's because you can't use the SQLite DLL directly from VB - some functions will work but the essential ones won't

RE: [sqlite] Multi-threading.

2005-07-25 Thread Steve O'Hara
I think the point about multi-threaded apps is not that there might be a few instances where they are useful, but how easy is it to debug and support them and is it worth the price for a little more concurrency? In my experience, most debugging IDE's can't handle multiple threads and actually

RE: [sqlite] Possible enhancement to SQL logic

2005-07-11 Thread Steve O'Hara
Is that statement correct Richard? I assumed that something clever was going on with OR's such that under the bonnet they got translated into UNION statements or similar. Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] rg]On Behalf Of Dan Kennedy Sent: 11 July

RE: [sqlite] Does SQLite have a fulltext search like MySQL?

2005-07-06 Thread Steve O'Hara
SQLite doesn't have a free text search capability - the Like and Glob functions are not free text just simple pattern matching on the scanned text. Performance is very poor because there is no suitable index. It's not a simple task to create free text searching - you have to create an inverted

RE: [sqlite] Does SQLite have a fulltext search like MySQL?

2005-07-06 Thread Steve O'Hara
? On 7/6/05, Steve O'Hara [EMAIL PROTECTED] wrote: SQLite doesn't have a free text search capability - the Like and Glob functions are not free text just simple pattern matching on the scanned text. Performance is very poor because there is no suitable index. It's not a simple task to create

RE: [sqlite] Insert all rows from old table into new table but in sorted order

2005-06-30 Thread Steve O'Hara
the power of the db to morph the data into whatever views your heart desires. -Original Message- From: Steve O'Hara [mailto:[EMAIL PROTECTED] Sent: Thursday, June 30, 2005 5:28 PM To: sqlite-users@sqlite.org Subject: RE: [sqlite] Insert all rows from old table into new table

RE: [sqlite] Concurrency management

2005-03-23 Thread Steve O'Hara
There is no queuing of requests in SQLite - if a request (thread) is blocked on a lock then it simply goes to sleep for a period of time and then retries. It doesn't know how many other threads are doing the same thing, just that a thread somewhere has control of the database. Therefore, there

RE: [sqlite] thoughts on a web-based front end to sqlite3 db?

2005-03-11 Thread Steve O'Hara
Here's my tuppence worth. I come from an engineering background where you're taught that rigour is the most important feature of any development. I find that all the interpreted environments tend not to be that great in this regard. Also, I don't have an axe to grind when it comes to

RE: [sqlite] thoughts on a web-based front end to sqlite3 db?

2005-03-11 Thread Steve O'Hara
I'd like England to win the World Cup... Perhaps we can do a swap. -Original Message- From: Dinsmore, Jeff [mailto:[EMAIL PROTECTED] Sent: 08 March 2005 13:58 To: sqlite-users@sqlite.org Subject: RE: [sqlite] thoughts on a web-based front end to sqlite3 db? I personally would

RE: [sqlite] ticket 1147

2005-02-28 Thread Steve O'Hara
Speaking as a wrapper writer myself (VB Wrapper), I too don't need or make any use of the column names but I can see where they might be being used by other wrappers e.g. ODBC/ADO/OLEDB. It's a convenient way for these guys to pick up field name bindings from select statements i.e. it saves them

RE: [sqlite] Making a SEQUENCE?

2005-02-21 Thread Steve O'Hara
Hi Dave, Wrap your update and select inside a transaction - the transaction is atomic in this regard and locks the table after the update and doesn't let it go until the commit/rollback. Others can read (they get the uncommitted values of course) but can't update. You will always get the latest

[sqlite] Locking in 3.0.6

2004-09-10 Thread Steve O'Hara
I'm wondering what logic I should employ to prevent mutual exclusion occurring. I'm using SQLite to record an audit trail from a web application - I count the number of edits, searches and the maximum number of concurrent users. Each user opens a connection to the database for the duration of

RE: [sqlite] Locking in 3.0.6

2004-09-08 Thread Steve O'Hara
it ? Where should I do my busy checking and recovery logic to prevent this mutual exclusion? Steve -Original Message- From: Steve O'Hara [mailto:[EMAIL PROTECTED] Sent: 08 September 2004 01:42 To: [EMAIL PROTECTED] Subject: [sqlite] Locking in 3.0.6 I'm having difficulty

RE: [sqlite] sqlite with Visual Basic

2004-06-19 Thread Steve O'Hara
To: [EMAIL PROTECTED] Subject: RE: [sqlite] sqlite with Visual Basic Steve O'Hara If you can think of improvements, let me know. I noticed that the output DLL shrank yet again to 45KB :-) What did you do to make it so small? Fred

RE: [sqlite] sqlite with Visual Basic

2004-06-18 Thread Steve O'Hara
I think you've missed the point... The VB wrapper allows VB programmers (this includes ASP) to interface directly to SQLite. No half way houses, no strange connection of disparate apps, just straight-forward Windows code. As you say, if you're talking VB then you're obviously talking

RE: [sqlite] sqlite with Visual Basic

2004-05-17 Thread Steve O'Hara
using DAO to SQLITE Jérôme -Message d'origine- De : Steve O'Hara [mailto:[EMAIL PROTECTED] Envoyé : vendredi 14 mai 2004 10:35 À : Jalil Vaidya; Carlos Garces; [EMAIL PROTECTED] Objet : RE: [sqlite] sqlite with Visual Basic Here's the SQLite wrapper

RE: [sqlite] SQLite and ODBC

2004-05-17 Thread Steve O'Hara
Hi, I find I have to agree with the opinion that says keep the ODBC driver should be external to the SQLite source. Why? Well, how many other database engines, client/server or otherwise, come with an ODBC driver embedded with the engine? The answer of course is none. Plenty of vendors supply

RE: [sqlite] vers 3.0 concurrency issues

2004-05-06 Thread Steve O'Hara
I've been watching the discussion about concurrency with interest. I find I'm impressed by everybody's arguments. I'd too would like to keep SQLite small and fast but equally, I'd like to have better concurrency. Even if this is just a safeguard for the future. However, I'm wondering why we're

RE: [sqlite] vers 3.0 concurrency issues

2004-05-06 Thread Steve O'Hara
issues On May 6, 2004, at 12:24 PM, Steve O'Hara wrote: I've been watching the discussion about concurrency with interest. I find I'm impressed by everybody's arguments. I'd too would like to keep SQLite small and fast but equally, I'd like to have better concurrency. Even

RE: [sqlite] Matching telephone strings

2004-04-11 Thread Steve O'Hara
What about this; SELECT * FROM stdcodes WHERE '0018764582' LIKE areacode || '%' order by areacode desc limit 1; Steve -Original Message- From: Lloyd thomas [mailto:[EMAIL PROTECTED] Sent: 11 April 2004 15:00 To: [EMAIL PROTECTED] Subject: Re: [sqlite] Matching telephone strings I

RE: [sqlite] A proposal for SQLite version 3.0

2004-04-11 Thread Steve O'Hara
I agree with Greg, the most irksome feature of SQLite is the case sensititvity - it's one of the few things MS got right with SQLserver. I know this is more mainstream/standard SQL behaviour but it's outdated in modern SQL applications that nearly always do some kind of linguistic searching. In

RE: [sqlite] A proposal for SQLite version 3.0

2004-04-07 Thread Steve O'Hara
Wouldn't this be due to SQLite storing everything as strings? If your database is predominantly numbers then I imagine the differences between Access and SQLite could be huge. Steve -Original Message- From: Roy Black [mailto:[EMAIL PROTECTED] Sent: 08 April 2004 04:38 To: [EMAIL

RE: [sqlite] Full text search implementation

2004-01-16 Thread Steve O'Hara
-Original Message- From: David Morel [mailto:[EMAIL PROTECTED] Sent: 16 January 2004 17:32 To: Brad Campbell Cc: George Ionescu; [EMAIL PROTECTED] Subject: Re: [sqlite] Full text search implementation My regex patch should do that SELECT * FROM Categories WHERE

RE: [sqlite] Full text search implementation

2004-01-16 Thread Steve O'Hara
-Original Message- From: Bertrand Mansion [mailto:[EMAIL PROTECTED] Sent: 16 January 2004 19:18 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [sqlite] Full text search implementation [EMAIL PROTECTED] wrote : -Original Message- From: David Morel

RE: [sqlite] Sqlite COM/EXE server

2003-12-27 Thread Steve O'Hara
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 27 December 2003 16:19 To: [EMAIL PROTECTED] Subject: RE: [sqlite] Sqlite COM/EXE server Hi, I've used SQLite in a variety of COM situations without problems. What is your application environment

RE: [sqlite] How to compile a standalone wrapper?!

2003-12-17 Thread Steve O'Hara
Easiest way is to include the sqlite.lib file in your library path. Steve -Original Message- From: Sören Krings [mailto:[EMAIL PROTECTED] Sent: 17 December 2003 11:29 To: [EMAIL PROTECTED] Subject: [sqlite] How to compile a standalone wrapper?! Hello, i´m new to SQLite, so to learn

RE: [sqlite] Crystal Reports

2003-12-16 Thread Steve O'Hara
Use the SQLite ODBC driver and away you go. I think I saw that someone has developed an OLEDB driver for SQLite which you could also use. Or, if you want to get a bit closer to Crystal, write your own Crystal Datasource Driver in VB/C++ Steve -Original Message- From: Jeff Edwards

RE: [sqlite] Is case sensitivity a problem for me only?

2003-12-01 Thread Steve O'Hara
Why should case sensitive data comparisons be maintained ? It seems to me that it's only in the most obtuse examples where it is of any use e.g. algebra, formulae, equations etc. Even then, how many people will search for a formula ? However, I would agree, that there is an absolute need to