[sqlite] sqlite database created in PHP not readable in python becomes how do i download the correct version of the python sqlite API

2013-09-25 Thread Aryc
first - thanks for all the insights. the versions are different (Ugh) but that raises a new question "how do i correct that?" these versions were defined by the download of PHP and Python (IE i didn't get the choice) below is the PHP code and Python code i used, followed by a hex dump of the

[sqlite] Different query plans between 3.7.13 and 3.8.0.2

2013-09-25 Thread Yongil Jang
Hi, all. Please, check following query plans. It makes different query plans between 3.7.13 and 3.8.0.2. It doesn't matter in common cases. But, when I insert almost 10,000 entries on this table, below query runs slightly slower on 3.8.0.2. Regards, Yongil. == database

[sqlite] Direct PostgreSQL to SQLite connection?

2013-09-25 Thread joe.fis...@tanguaylab.com
Looking for a solution to connect directly from a PostgreSQL database to a SQLite database. We need PostgreSQL for it's Window/Analytic functions and other features that SQLite doesn't have. Yet, SQLite is great for collecting data. Every one of our experiments adds 300MB to the SQLite

Re: [sqlite] Sqlite on Windows 8.1 Metro Application returning CannotOpen Error

2013-09-25 Thread Dave Protasowski
False alarm - the wrapper lib bundled in our repo was an older revision that was not calling sqlite3_win32_set_directory After updating to the latest it's resolved. Link for reference if anyone else is looking for the source

Re: [sqlite] Bug : Tcl interface + "INSERT OR REPLACE" statement

2013-09-25 Thread Jean-Marie CUAZ
To make clearer my former post, (not arguing against the current bahaviour of "INSERT OR REPLACE"), the usage (and misunderstanding) I had with INSERT OR REPLACE was a simple shortcut of 2 statements : - DELETE : erasing completely old values, with a constraint that no deletion should occur

Re: [sqlite] Bug : Tcl interface + "INSERT OR REPLACE"

2013-09-25 Thread Jean-Marie CUAZ
Thanks a lot for your explanations. I misread the doc... I intuitively thought that INSERT OR REPLACE operates only on a "one input -> one affected record" ("or in place") logic (as exercised for the PK constraint) and that UNIQUE constraint had some higher priority against "replace" : a kind

Re: [sqlite] SQLite3 3.7.17 => using column names with character '@'.

2013-09-25 Thread Simon Slavin
On 25 Sep 2013, at 8:30am, Dominique Devienne wrote: > Unless there's an opt-in pragma to enforce maximum conformance on this, the > recently discussed statement-invariant 'now', etc... --DD I'd rather it was left alone in SQLite3 and removed in the jump to SQLite4. But

Re: [sqlite] SQLite3 3.7.17 => using column names with character '@'.

2013-09-25 Thread Dominique Devienne
On Tue, Sep 24, 2013 at 9:39 PM, Richard Hipp wrote: > On Tue, Sep 24, 2013 at 2:02 PM, Petite Abeille >wrote: > > On Sep 24, 2013, at 7:59 PM, Dan Kennedy wrote: > > > A double quoted string is treated as a column name if