strstr( error, "already exists" ); ?
On Sat, Apr 14, 2012 at 6:03 AM, Oleksii Timofieiev <[email protected]> wrote: > http://www.sqlite.org/faq.html#q7 > > or > > CREATE TABLE IF NOT EXISTS > > On Fri, Apr 13, 2012 at 6:52 PM, Marco Bambini <[email protected]> wrote: > >> When I try to create a table that already exists inside a database I >> obtain the error message: "table xyz already exists" and the error code is >> 1. >> Is there a way to receive a more detailed error message that can inform me >> that the object is already present inside the database? >> >> Thanks a lot. >> -- >> Marco Bambini >> http://www.sqlabs.com >> http://twitter.com/sqlabs >> >> >> >> >> >> >> >> _______________________________________________ >> sqlite-users mailing list >> [email protected] >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users >> > _______________________________________________ > sqlite-users mailing list > [email protected] > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

