Re: [sqlite] text datatype matching functions, binding vs explicit insert

2008-07-25 Thread Harold Wood
lt;[EMAIL PROTECTED]> Subject: Re: [sqlite] text datatype matching functions, binding vs explicit insert To: "General Discussion of SQLite Database" <sqlite-users@sqlite.org> Date: Friday, July 25, 2008, 7:50 PM On Jul 25, 2008, at 7:44 PM, Harold Wood & Meyuni Gani wro

Re: [sqlite] text datatype matching functions, binding vs explicit insert

2008-07-25 Thread D. Richard Hipp
On Jul 25, 2008, at 7:44 PM, Harold Wood & Meyuni Gani wrote: > But you can use where 'AA' = upper(fld1) = to get around case issues. Yes you can. But you need to be aware that doing so will prevent an index from being used to speed the search. If your table is small it shouldn't make

Re: [sqlite] text datatype matching functions, binding vs explicit insert

2008-07-25 Thread Harold Wood & Meyuni Gani
Subject: Re: [sqlite] text datatype matching functions, binding vs explicit insert On Jul 25, 2008, at 8:50 AM, Chris Holbrook wrote: > I created a table with four text columns and a blob column, and > populated it using sqlite3 functions ~prepare, ~bind_text, > ~bind_blob. Now I

Re: [sqlite] text datatype matching functions, binding vs explicit insert

2008-07-25 Thread D. Richard Hipp
On Jul 25, 2008, at 8:50 AM, Chris Holbrook wrote: > I created a table with four text columns and a blob column, and > populated it using sqlite3 functions ~prepare, ~bind_text, > ~bind_blob. Now I can't query the data using, for example, "where > app = 'AA'", though "where app like 'AA'"

Re: [sqlite] text datatype matching functions, binding vs explicit insert

2008-07-25 Thread D. Richard Hipp
On Jul 25, 2008, at 8:50 AM, Chris Holbrook wrote: > I created a table with four text columns and a blob column, and > populated it using sqlite3 functions ~prepare, ~bind_text, > ~bind_blob. Now I can't query the data using, for example, "where > app = 'AA'", though "where app like 'AA'"

[sqlite] text datatype matching functions, binding vs explicit insert

2008-07-25 Thread Chris Holbrook
I created a table with four text columns and a blob column, and populated it using sqlite3 functions ~prepare, ~bind_text, ~bind_blob. Now I can't query the data using, for example, "where app = 'AA'", though "where app like 'AA'" works! The LENGTH() function returns the number of characters