Adobe AIR does not support SQLite FTS.
To search for particular rows using WHERE & LIKE
To search for particular rows using WHERE & LIKE
SELECT * FROM tablename WHERE columnname LIKE :columnname"
:columnname holds the value "%somevalue%
Below are the few syntax for SQLite & Adobe AIR
Table Creation
CREATE TABLE IF NOT EXISTS tablename (id INTEGER PRIMARY KEY AUTOINCREMENT, column1 TEXT NOT NULL, column2 TEXT, column3 TEXT, columndate DATE)
Selecting rows using WHERE
SELECT * FROM tablename WHERE columnname = "somevalue"
SQLite Date Comparison
SELECT * FROM tablename WHERE date(columndate) = date("somevalue")
SQLite Multiple WHERE conditions
SELECT * FROM tablename WHERE columnname = "somevalue" AND columnname2 = "somevalue"
SQLite INSERTing rows
INSERT INTO tablename (column1, column2, column3, column4) VALUES ( "somevalue", "somevalue", "somevalue", "somevalue" )
SQLite INSERTing multiple rows at once
INSERT INTO tablename (column1, column2, column3, column4) SELECT 'somevalue', 'somevalue', 'somevalue', 'somevalue' UNION SELECT 'somevalue', 'somevalue', 'somevalue', 'somevalue'
It is appropriate time to make a few plans for the longer
ReplyDeleteterm and it is time to be happy. I've read this post and if I could I want to counsel you few interesting things or advice. Perhaps you can write subsequent articles relating to this article. I wish to learn even more things approximately it!
Here is my web site - account information form
Pretty nice ρоѕt. I just stumbled upon yοur blog and wished to ѕay that I've really enjoyed browsing your blog posts. After all I will be subscribing to your feed and I hope you write again very soon!
ReplyDeleteAlso visit my web site : http://hotmailcorreo.webs.com/
I'm extremely impressed together with your writing skills and also with the layout in your weblog. Is that this a paid subject or did you modify it yourself? Anyway keep up the excellent high quality writing, it is rare to see a great weblog like this one today..
ReplyDeleteFeel free to surf to my page: hotmail correo sign inç