explicitly specify the column name in the INSERT
clause,
INSERT INTO destinationTable (risposta, data_ins)
SELECT STATUS risposta, DATETIME('now') data_ins
FROM sourceTable
More Related Contents:
- Best way to work with dates in Android SQLite [closed]
- How to split comma-separated value in SQLite?
- Android SQLite: Update Statement
- Could not allocate CursorWindow
- android, how to exec a sql file in sqlitedatabase
- Queries with prepared statements in Android?
- SQLite Foreign Key
- Android SQLite data display to ListView
- Android :: SQLIte Db don't insert the datas
- IN clause and placeholders
- Android Database Transaction
- Best place to close database connection
- Backup and restore SQLite database to sdcard
- Permission Denial: this requires android.permission.INTERACT_ACROSS_USERS_FULL
- Cursor adapter and sqlite example [closed]
- How to retrieve data from sqlite database in android and display it in TextView
- Android: column ‘_id’ does not exist
- Android Save images to SQLite or SDCard or memory
- Android Cursor with ORMLite to use in CursorAdapter
- Is it possible to apply primary key on the text fields in android database
- How to store sqlite database directly on sdcard
- sqlite example program in android [closed]
- Create SQLite database in android
- Android SQLite auto increment
- Android Device Monitor “data” folder is empty
- Browse SQLite database from Android Studio [closed]
- how to bulk insert in sqlite in android
- how to drop database in sqlite?
- SQLite database on SD card
- Does Android SQLite cursor load all records into memory at once?