Re: [sqlite] Detailed error code

2012-04-14 Thread Richard Hipp
On Sat, Apr 14, 2012 at 7:30 AM, 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 obtain a more specific error code that can > programmatically

Re: [sqlite] Detailed error code

2012-04-14 Thread Simon Slavin
On 14 Apr 2012, at 12:30pm, ma...@sqlabs.net 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 obtain a more specific error code that can > programmatically inform me

[sqlite] Detailed error code

2012-04-14 Thread marco
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 obtain a more specific error code that can programmatically inform me that the object is already inside the db? Seems like also