Skip to content
Advertisement

Tag: android

how to serialize an object into and save it to mysql database? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago. Improve this question i want to store a list of timestamps in android sqlite database. like : Answer Yes – simply text type column can be used to

SQLite not selecting date

My SQlite database in my app stores the date in the format of yyyy-MM-dd HH:mm:ss. I want to query a transaction that happened on a certain month of a year but my code is not working : Answer After some research I discovered that for some reason I had to do some casting for it to work.

sqlite insert into table select * from

I need to move data from one table to another in my Android app I would like to use the following sql: Unfortunately in table MYTABLE2 there is an _ID column AUTOINCREMENT. What could I do? Thanks. EDIT: this is my MYTABLE2 the, the table I would like to populate with data from another table: Answer explicitly specify the column

Advertisement