SQLite Forum

Need If column exist option in SQLite
Login
A SELECT statement 

1. requires a semic-colon
2. does not return SQLite_OK.

This

>SELECT newcol FROM mytable LIMIT 1;

will fail if newcol does not exist.