Alberto Simões wrote:
> I am running on the fly a query to count the number of words starting
> with one of the 26 letters.
> 
> I am doing the usual SELECT COUNT(term) from dictionary WHERE normword
> LIKE "a%"  (for the 26 letters)
> 
> normword is the term normalized without accents and the like

See if this condition works better:

where normword >= 'a' and normword < 'b'

See also http://sqlite.org/optoverview.html#like_opt
-- 
Igor Tandetnik

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to