The circumstances I was thinking about is if you had many tables with a column called 'name'. If each table had a different name for the constraint, then they could be differentiated. Otherwise, it would be nice to at least have the name of the table included in the error message.
Also, I just noticed this same behavior of foreign key constraints. Even when they are named, a FK violation error message just says: sqlite3.IntegrityError: foreign key constraint failed Again, it would be nice for the error message to report the constraint name and/or the table name. The rationale behind this is the same -- multiple tables could have the same column names and FK constraints. Thanks, -John On Sat, Aug 25, 2012 at 08:13:22PM -0700, Roger Binns wrote: > It does tell you the name of the column. Under what circumstances could > you not work with that? > _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

