On Sat, Apr 14, 2012 at 7:30 AM, <[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 obtain a more specific error code that can
> programmatically inform me that the object is already inside the db?
>

Not at this time.  This is something that needs to be improved upon in
SQLite:  we need to work on providing a unique extended error code for
every possible error.



> Seems like also Extended Result Codes do not cover this case.
>
> Please help.
> Thanks let me know.
> --
> Marco Bambini
> http://www.sqlabs.com
>
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to