Please prompt, how used REGEXP in SQLite?
Realization:
SELECT field FROM table WHERE field REGEXP '123'
It is not working. Error: no such function: REGEXP
Error: no such function: REGEXP
Currently am working on sqlite3+php for my web application in Ubuntu 12.04. I was also faced the same issue then after research i had found that we need to install one pcre package for sqlite3. Here we go how to
apt-get install sqlite3-pcre
sqlite3 test.db
.load /usr/lib/sqlite3/pcre.so
SELECT url FROM table_name where url REGEXP '^google.*';
After following those 3 steps its working fine for me. If am wrong regarding this please correct me. I hope it will help you
Thanks
2.1m questions
2.1m answers
60 comments
57.0k users