Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid SQLite Error "no such column", but column exists
    primarykey
    data
    text
    <p>I get an error when I try to update a database row in my Android app. It seems to think there's no column called <code>last_update_time</code>, but I'm absolutely sure there is one. I've created and re-created the database a few times and checked my SQL statements, and there is definitely a column by this name.</p> <p>Some log statements:</p> <pre><code>02-13 14:31:09.508: I/Database(674): sqlite returned: error code = 1, msg = no such column: last_update_time 02-13 14:31:09.508: E/Database(674): Error updating icon=http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png last_update_time=1329172268604 distance=36.571194 _id=ba1f46d735746b66658bb970e842d647ea7f92d8 vicinity=3561 El Camino Real #75, Santa Clara name=Paris Baguette longitude=-121.994223 latitude=37.353605 types=bakery store food establishment reference= CnRlAAAAddN_wZD9BvHL0LCzxJUgzf_QcaFUVcIyDRPf26pRyrUVJ1yVkUkke420FEhwkaNfsZedlqrhaRJJwelopAYWEPRr7mAL81vivvlntYSSqS0xUxke655C7ay4AyOpaCO1BE7XbDmQSTV7WINl8c7W0hIQ_DXJBG0pSWe3P1gaJQOSuRoURMAs2eYOIzExARulJ7B7k5EK97c using UPDATE places SET icon=?, last_update_time=?, distance=?, _id=?, vicinity=?, name=?, longitude=?, latitude=?, types=?, reference=? WHERE _id = ba1f46d735746b66658bb970e842d647ea7f92d8 02-13 14:31:09.518: E/AndroidRuntime(674): android.database.sqlite.SQLiteException: no such column: last_update_time: , while compiling: UPDATE places SET icon=?, last_update_time=?, distance=?, _id=?, vicinity=?, name=?, longitude=?, latitude=?, types=?, reference=? WHERE _id = ba1f46d735746b66658bb970e842d647ea7f92d8 </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload