My Android app has an SQLite database table with entries as follows:
USER_ID | NAME | MESSAGE | TIMESTAMP
where the timestamp is stored in a String in format:
"2012-10-10T03:14:32+0000"
I'm looking for a way to delete entries older than 3 days.
The table is likely to have less than 3,000 rows at a time.
I'm new to SQL and my question is how can I approach this in SQL for SQLite? Is there a less expensive way to do this in SQL than to iterate all posts in Java?