Re: [sqlite] Building an fts Query for Double Quote

2012-06-18 Thread Carl Desautels
On Mon, Jun 18, 2012 at 12:57 PM, Richard Hipp wrote: > Double-quote is syntactically significant to FTS3 - it delimits two or more > word in a phrase search. You cannot search for words that contain > double-quote using FTS3. > Thank you -- Carlin W. Desautels Research

[sqlite] Building an fts Query for Double Quote

2012-06-18 Thread Carl Desautels
Hi, I'm using SQLite 3.7.12 and I'm trying to build an fts phrase query to match a string containing a double-quote. Given the table created by the following commands: - create virtual table tbl using fts4(txt); - insert into tbl values ('quot"ed'), ('quoted'); I have tried to search for

[sqlite] Running SQLite Test Suites

2012-06-07 Thread Carl Desautels
Hi, A partner and I have downloaded the SQLite core source and made some alterations, and we can successfully build the source. However we would like to know how to run the TCL test suite, resources online suggest simply running $make test/alltest.I feel like this resource is out of date because

[sqlite] Set Locale for upper() and lower() using a pragma variable

2012-02-29 Thread Carl Desautels
From the ICU documentation, ( http://www.sqlite.org/src/artifact?ci=trunk=ext/icu/README.txt) To access ICU "language specific" case mapping, upper() or lower() should be invoked with two arguments.[...] lower('I', 'tr_tr') -> 'ı' (small dotless i) With an ICU enabled build of SQLite, I

[sqlite] Convert data to binary

2011-11-25 Thread Carl Desautels
I'd like to store any data as binary in my sqlite database, I approached the problem by trying to hex() the input because the x' ' operator accepts hex and outputs binary, for example: x'hex("hello world")' but that syntax doesn't work, is there any way to make storing any data as its binary