Re: [sqlite] built-in functrion suggestion: size of blob

2005-10-26 Thread Nuno Lucas
On 10/25/05, Joe Wilson <[EMAIL PROTECTED]> wrote: > The built-in Sqlite length() function works just fine on blobs: > > sqlite> select length(X'00'); > 5 > > Why do you think it doesn't? I remember a few months ago noticing it would count UTF-8 chars, not bytes, so it would not

Re: [sqlite] Convert SQLite to Java

2005-10-26 Thread Reid Thompson
Steve O'Hara wrote: 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

Re: [sqlite] Sample code

2005-10-26 Thread Alfredo Cole
El Miércoles, 26 de Octubre de 2005 16:17, John Stanton escribió: > Alfredo, this simple example may may help > (...) This is good! Thank you and regards. -- Alfredo J. Cole Grupo ACyC

[sqlite] Xtudio V0.2.1 Alpha has been released!

2005-10-26 Thread eistware xtudio
Hi All, Xtudio V0.2.1 Alpha has been released! What is Xtudio? A powerful windows IDE tool designed for software development on UNIX, Linux and Windows servers. Xtudio supports C/C++/Java/Xml/Html/Scripts languages Advantages of Xtudio: -

[sqlite] Re: rows disappear when adding "order by" clause

2005-10-26 Thread Igor Tandetnik
Igor Tandetnik wrote: I seem to have stumbled on a bug in SQLite. Running SQLite 3.2.7 on Windows, from precompiled binaries. Sorry, looks like a false alarm. I was actually running 3.2.5. It seems to work with 3.2.7 Igor Tandetnik

Re: [sqlite] Bug: rows disappear when adding "order by" clause

2005-10-26 Thread Puneet Kishor
Igor Tandetnik wrote: I seem to have stumbled on a bug in SQLite. create table Campaigns (id integer primary key, accountId integer, name varchar); create table CampaignStats (id integer primary key, campaignId integer); insert into Campaigns values(1, 1, 'A'); insert into Campaigns values(2,

[sqlite] Bug: rows disappear when adding "order by" clause

2005-10-26 Thread Igor Tandetnik
I seem to have stumbled on a bug in SQLite. create table Campaigns (id integer primary key, accountId integer, name varchar); create table CampaignStats (id integer primary key, campaignId integer); insert into Campaigns values(1, 1, 'A'); insert into Campaigns values(2, 1, 'B'); select c.*

[sqlite] Group By doesn't error when field in select but not in group by

2005-10-26 Thread Vincent Thomas
I thought the rule was that fields in a select statement with a group by had to either be in the group by or be an aggregate function, e.g select a, b, count(*) from some_table group by a should be an error. If not what value does the "b" field have? Vince Thomas

Re: [sqlite] Re: iso8859-9 encoding problem

2005-10-26 Thread Veysel Harun Sahin
:) Thanks Igor. I will try. Hope i can do it. On 10/26/05, Igor Tandetnik <[EMAIL PROTECTED]> wrote: > > Veysel Harun Sahin <[EMAIL PROTECTED]> > wrote: > > I have already started using sqlite. The version which i use is > > 3.2.7. I have no problems except sorting. When i query a table using > >

Re: [sqlite] Very Slow delete times on larger databases, please help!

2005-10-26 Thread Brett Wilson
Vacuuming is just slow. I don't think there is much you can do except don't do it unless you really need it, and don't turn on autovacuum. Brett On 10/26/05, R S <[EMAIL PROTECTED]> wrote: > In my case Delete happens reasonably OK but Vaccuuming takes incredibly > long? > > > On 10/21/05, Allan,

[sqlite] Re: FYI: Fortran interface to SQLite

2005-10-26 Thread Ulrich Telle
Hi Arjen, I would like to test your Fortran SQLite interface with the Lahey LF95 Windows Fortran compiler. Please let me know where I can get your code. Regards, Ulrich Telle

Re: [sqlite] Very Slow delete times on larger databases, please help!

2005-10-26 Thread R S
In my case Delete happens reasonably OK but Vaccuuming takes incredibly long? On 10/21/05, Allan, Mark <[EMAIL PROTECTED]> wrote: > > > Thanks to both Christian Smith and John Stanton for your posts. > > > On Wed, 19 Oct 2005, Christian Smith wrote: > > From the VDBE output you originally

Re: [sqlite] Sample code

2005-10-26 Thread Alfredo Cole
El Miércoles, 26 de Octubre de 2005 08:53, escribió: > On 10/26/05, Alfredo Cole <[EMAIL PROTECTED]> wrote: > > I have searched, but have not found samples of actual uses of > > sqlite_compile, sqlite_step and sqlite_finalize. Could anybody point the > > way to where I can find samples with

Re: [sqlite] Sample code

2005-10-26 Thread Jay Sprenkle
On 10/26/05, Alfredo Cole <[EMAIL PROTECTED]> wrote: > I have searched, but have not found samples of actual uses of sqlite_compile, > sqlite_step and sqlite_finalize. Could anybody point the way to where I can > find samples with source code to use these functions? It's c++ but here's some:

[sqlite] Sample code

2005-10-26 Thread Alfredo Cole
Hi: I have searched, but have not found samples of actual uses of sqlite_compile, sqlite_step and sqlite_finalize. Could anybody point the way to where I can find samples with source code to use these functions? Thank you. -- Alfredo J. Cole Grupo ACyC

Re: [sqlite] where can I find resources of using sqlite in Python?

2005-10-26 Thread Hamid Benhocine
刘瑞展 wrote: hello, where can I find resources of using sqlite in Python? thanks a lot liu http://www.rogerbinns.com/apsw.html http://initd.org/tracker/pysqlite regards hb.

Re: [sqlite] getting only count of records

2005-10-26 Thread Guillaume MAISON
Wilfried Mestdagh a écrit : Hi Guillaume, if restricting in the where clause on VehicleID, then you should create an index on VehicleID. I' not sure I understeand correct. Does this mean that if I uses 'where' clauses it is not needed to make indexes and it make index itself when needed ?

Re: [sqlite] UTF8Encoding

2005-10-26 Thread sai kalyanam
use Version=3 in your connection string. Peterson Luiz <[EMAIL PROTECTED]> wrote: Hi, I´m using "UTF8Encoding = true" on my conection string in C#, but I can´t get any special character (like á,ç,ã) in my query results. If I open the database with any DBTool software, I can see that all the

[sqlite] where can I find resources of using sqlite in Python?

2005-10-26 Thread 刘瑞展
hello, where can I find resources of using sqlite in Python? thanks a lot liu

Re: [sqlite] Re: begin transaction and commit

2005-10-26 Thread Arjen Markus
Igor Tandetnik wrote: > > > > There is another reason that is more or less specific to SQLite: a batch > of data manipulation (insert, update and delete) statements completes > much faster when all statements are executed under a single transaction. > > > I understeand that if I use them, and

Re: [sqlite] FYI: Fortran interface to SQLite

2005-10-26 Thread Arjen Markus
Hamid Benhocine wrote: > > Hello, > Very interesting, I planned to do some work (not done yet) to > provide my division with some examples using sqlite with fortran 90/95 > (to replace a home pivot format in numerical computing : we use f90/95). > So, if you have a release, you want to share, I