On 12/6/2012 11:47 AM, Durga D wrote:> I have situation in which I want
to read particular record if table exists.
Based on that record information, I have to execute some logic on other
tables of the same database. If record doesn't exist I need to create new
table.
Prepare a statement to read that record from the table. If
sqlite3_prepare fails, then the table doesn't exist. If it succeeds, run
the statement as you normally would.
--
Igor Tandetnik
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users