[sqlite] PhoneGap with SQLite Encryption Extension?

2015-12-05 Thread Ribeiro, Glauber
with SQLite Encryption Extension? On 12/4/15, Ribeiro, Glauber wrote: > We have an Android application built on PhoneGap, which uses the built-in > SQLite to store data. > > Does anybody here know if it's possible to replace the built-in SQLite in > PhoneGap (Android) with a versio

[sqlite] PhoneGap with SQLite Encryption Extension?

2015-12-04 Thread Ribeiro, Glauber
We have an Android application built on PhoneGap, which uses the built-in SQLite to store data. Does anybody here know if it's possible to replace the built-in SQLite in PhoneGap (Android) with a version that supports encryption (S.E.E. or other kind), so that the application information

Re: [sqlite] Why are allowed to keep a text of 3 characters in a field that has been set to 2?

2009-09-22 Thread Ribeiro, Glauber
-Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Angus March Sent: Tuesday, September 22, 2009 8:40 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] Why are allowed to keep a text of 3 characters in a field

Re: [sqlite] Importing data into SQLite - text files are not really portable

2009-09-08 Thread Ribeiro, Glauber
Unfortunately, the 3 main families of small computer operating systems have 3 different definitions of what a text file is... DOS/Windows (PC): lines are terminated with CR+LF Unix: lines are terminated with LF Macintosh: lines are terminated with CR This causes no end of trouble when moving

Re: [sqlite] SQLJet - pure Java implementation of SQLite andNestedVM version

2009-08-12 Thread Ribeiro, Glauber
ge- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Ribeiro, Glauber Sent: Wednesday, August 12, 2009 4:35 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] SQLJet - pure Java implementation of SQLite andNestedVM version

Re: [sqlite] SQLJet - pure Java implementation of SQLite and NestedVM version

2009-08-12 Thread Ribeiro, Glauber
I had the impression that the NestedVM version worked under Linux only, is this incorrect? g -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Roger Binns Sent: Wednesday, August 12, 2009 3:54 PM To: General Discussion of

Re: [sqlite] Memory leak with sqlite3_exec on qnx 6.4.1

2009-06-26 Thread Ribeiro, Glauber
I took only a quick look, but it seems to me that sqlite3_free is only being called if there is an error. See http://sqlite.org/c3ref/exec.html g -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Greg Morehead Sent: Friday,

Re: [sqlite] How to exit from sqlite shell?

2009-05-04 Thread Ribeiro, Glauber
Yes, and Control-Z exits sqlite3, in Windows, as expected. g -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Pavel Ivanov Sent: Monday, May 04, 2009 2:01 PM To: sqlite-users@sqlite.org Subject: Re: [sqlite] How to exit from

Re: [sqlite] export table to csv

2009-03-31 Thread Ribeiro, Glauber
You can only use one command in the command-line. Use options for the others, like this: Sqlite3.exe -csv -separator ',' ioimport.db3 "select * from iotemplate;" >thisisit.csv -Original Message- From: Richard Nero [mailto:rich...@rlnero.com] Sent: Monday, March 30, 2009 10:12 AM To:

Re: [sqlite] Are there distillate posts in the sqlite3 board?

2009-03-06 Thread Ribeiro, Glauber
Are you looking perhaps for digest mode? Yes, there is a digest mode for the SQLite email lists, it's one of the options you can set up. Or are you thinking of posts that were made under the influence of distillates? :) g -Original Message- From: liubin liu [mailto:7101...@sina.com]

Re: [sqlite] Performance impact for heavy accessing the database file

2009-03-03 Thread Ribeiro, Glauber
How heavy? How many kg? :) http://www.sqlite.org/faq.html#q5 If it's all reads, you're fine, but if anyone is writing, all others are blocked until that transaction is finished. Locks are at database, not record or table level. g -Original Message- From: Eversogood

Re: [sqlite] drop table question ?

2009-02-04 Thread Ribeiro, Glauber
You may not have a column name; it might be a calculated column; for example, count(*) g -Original Message- From: John Machin [mailto:sjmac...@lexicon.net] Sent: Tuesday, February 03, 2009 2:05 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] drop table question ? On

Re: [sqlite] request to become co-maintainer of DBD::SQLite

2009-01-14 Thread Ribeiro, Glauber
My only suggestion at the moment, please use the amalgamation instead of individual files. This makes it much easier to upgrade when SQLite releases a new version. g -Original Message- From: Clark Christensen [mailto:cdcmi...@yahoo.com] Sent: Wednesday, January 14, 2009 10:19 AM To:

Re: [sqlite] SQLite version 3.6.8

2009-01-13 Thread Ribeiro, Glauber
Yes, the amalgamation driver is the better way to do this. It has been working for me, for several SQLite updates. g -Original Message- From: Jim Dodgen [mailto:j...@dodgen.us] Sent: Monday, January 12, 2009 10:42 PM To: General Discussion of SQLite Database Subject: Re: [sqlite]

Re: [sqlite] Hi, a question from Colombia

2009-01-12 Thread Ribeiro, Glauber
Brazil, but living in the Chicago area of the USA since 1991. -Original Message- From: MikeW [mailto:mw_p...@yahoo.co.uk] Sent: Monday, January 12, 2009 6:35 AM To: sqlite-users@sqlite.org Subject: Re: [sqlite] Hi, a question from Colombia Ribeiro, Glauber <glauber.ribe...@...>

Re: [sqlite] Hi, a question from Colombia

2009-01-09 Thread Ribeiro, Glauber
Carlos, If you don't mind, I'll answer through the list, because there are people there who know much more than I do. Here's your question: > Here I'm looking for subtract two datefields from diferentes tables if > the field1 is not null, if that field is null the value is 'without > close'

Re: [sqlite] Hi, a question from Colombia

2009-01-09 Thread Ribeiro, Glauber
Hi, Carlos, People here are helpful and friendly, and we will try to help you in our abundant free time, but try to include as much information as possible with your question, so we can give you meaningful answers. For example, don't just ask "why is my SQL so slow?", but tell us specifically

Re: [sqlite] "meta command" via string via shell?

2009-01-05 Thread Ribeiro, Glauber
You didn't mention which OS you're in. This works in Unix: $ sqlite3 -help Usage: sqlite3 [OPTIONS] FILENAME [SQL] FILENAME is the name of an SQLite database. A new database is created if the file does not previously exist. OPTIONS include: -init filename read/process named file

Re: [sqlite] Creating Histogram fast and efficiently :)

2009-01-02 Thread Ribeiro, Glauber
If the data were small I'd do a case statement, otherwise, create a table with the ranges and join that to your main table. g -Original Message- From: Jonathon [mailto:thejunk...@gmail.com] Sent: Wednesday, December 31, 2008 5:16 AM To: General Discussion of SQLite Database Subject:

Re: [sqlite] [perl] unable to open database file

2008-12-19 Thread Ribeiro, Glauber
Perhaps the directory name is mispeled? Do "$!" or "$@" have anything interesting in them? Perl's debugger is invoked with the -d switch. See the "perldebug" document -Original Message- From: LUKE [mailto:l...@tc.program.com.tw] Sent: Thursday, December 18, 2008 1:31 AM To:

Re: [sqlite] convert sql for sqlite 2.8.17

2008-12-08 Thread Ribeiro, Glauber
This should return only one record, right? So you shouldn't need the second order by ("order by f.type asc, f.price desc"). -Original Message- From: Martin Engelschalk [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 8:15 AM To: General Discussion of SQLite Database Subject:

[sqlite] Missing TCL/TEA source code

2008-12-01 Thread Ribeiro, Glauber
I think the source code for SQLite with TCL for version 3.6.6.2 is missing from sqlite.org. Thanks, glauber ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

[sqlite] Wondering about SQLite and Java

2008-11-24 Thread Ribeiro, Glauber
What is the current wisdom about the best JDBC driver to use for SQLite in Linux? Thanks, glauber ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] How does sqlite return the status of the data base

2008-11-07 Thread Ribeiro, Glauber
It uses OS-level file locking. Read http://sqlite.org/atomiccommit.html Here's some more: http://sqlite.org/lockingv3.html Documentation page: http://sqlite.org/docs.html g -Original Message- From: Igor Tandetnik [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2008 2:14 PM

Re: [sqlite] How does sqlite return the status of the data base

2008-11-07 Thread Ribeiro, Glauber
It uses OS-level file locking. Read http://sqlite.org/atomiccommit.html g -Original Message- From: Igor Tandetnik [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2008 2:14 PM To: sqlite-users@sqlite.org Subject: Re: [sqlite] How does sqlite return the status of the data base

Re: [sqlite] How does sqlite return the status of the data base?

2008-11-07 Thread Ribeiro, Glauber
Do you mean "First come first serve"? In that case, I suppose not, since there is no server processed involved, to mediate access. -Original Message- From: Igor Tandetnik [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2008 10:44 AM To: sqlite-users@sqlite.org Subject: Re:

Re: [sqlite] strcpy and sqlite3_column_text

2008-10-10 Thread Ribeiro, Glauber
Yes, this is a little irritating. Back in the time when I used to do C, I always used strncpy and then stuck a '0' at the end of the new string. -Original Message- From: Dave Dyer [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2008 12:25 PM To: Teg; General Discussion of SQLite

Re: [sqlite] Memory Resident Database

2008-10-06 Thread Ribeiro, Glauber
You probably want to open your in-file database, open the :memory: database, and copy all the data from the file to memory, do your manipulations in memory, then copy back to file when you're done. http://www.sqlite.org/cvstrac/wiki?p=InMemoryDatabase has a simple TCL program to copy a database,

Re: [sqlite] Can't insert timestamp field with value CURRENT_TIME

2008-10-01 Thread Ribeiro, Glauber
You can probably do it the hard way: create a new table with the structure you need, then populate it with data from your old table, then rename both tables. -Original Message- From: Dan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2008 11:53 PM To: General Discussion of

Re: [sqlite] Does sqlite caches data to speed up transaction

2008-09-29 Thread Ribeiro, Glauber
SQLite needs to guarantee transaction integrity and concurrent accesses (more than one process could be writing and reading a SQLite database at the same time). It has to go to greath lengths to ensure that the data actually gets written to disk instead of staying in memory cache. All this has

[sqlite] What happened to .bail?

2008-09-25 Thread Ribeiro, Glauber
The documentation for sqlite3 on the web site: http://www.sqlite.org/sqlite.html Lists a .bail (on|off) command (stop after hitting an error. Default off) This doesn't seem to be implemented in the current version. Why? This seems to be an important feature for creating robust applications. Is

Re: [sqlite] Core dumps on AIX with optimization

2008-09-22 Thread Ribeiro, Glauber
This issue continues with version 3.6.2 g -Original Message- From: Ribeiro, Glauber Sent: Friday, September 19, 2008 11:55 AM To: General Discussion of SQLite Database Subject: [sqlite] Core dumps on AIX with optimization Just wondering, are there other AIX Sqlite users out

[sqlite] Core dumps on AIX with optimization

2008-09-19 Thread Ribeiro, Glauber
Just wondering, are there other AIX Sqlite users out there, and what have you done in order to get a successful compile? I found out that on our AIX 5.2, with IBM's Visual Age C v9.0, the command line utility sqlite2 dumps core when running SQL that contains an aggregation function, if it was

Re: [sqlite] best language match for SQLite?

2008-09-16 Thread Ribeiro, Glauber
SQLite is written in C, and its creators seem to be fond of TCL, so those are 2 good choices, but I don't think there is a most ideal language for anything - it all depends on balancing what you need to do and what you want to learn. And of course, Perl is always best. :) g -Original

Re: [sqlite] Dates & SQLite

2008-09-15 Thread Ribeiro, Glauber
True, but it seems to me that "Julian dates" (floating-point numbers) in Universal Time are the least cumbersome way to go if you want a binary representation, or character strings in one of the supported formats, if you want a human-readable one. You can also use Unix timestamps (integers), but

[sqlite] Question about vacuum

2008-09-09 Thread Ribeiro, Glauber
Hello, Here's another newbie question, but it doesn't look like the documentation for vacuum covers this. I'm using SQLite to store an application's log. Suppose I have a program that runs nightly and deletes log records that are older than 60 days, to keep the database from growing without

[sqlite] SQLite test suite - where is it?

2008-09-08 Thread Ribeiro, Glauber
Sorry for the newbie question, but how is the regression testing invoked? I tried "make check" with the 3.6.2 "amalgamation" distribution in Unix, but that seemed to do nothing. Thanks, glauber ___ sqlite-users mailing list sqlite-users@sqlite.org