Re: [sqlite] Check restraint

2011-06-08 Thread Richard Hipp
On Tue, Jun 7, 2011 at 12:11 PM, noah hart wrote: > Assume that a table has several check restraints, such as a unique index > and > a foreign key. > > When inserting a row that violates more than one of the constraints, is > there any way to tell which of the constraint

[sqlite] Check restraint

2011-06-08 Thread noah hart
Assume that a table has several check restraints, such as a unique index and a foreign key. When inserting a row that violates more than one of the constraints, is there any way to tell which of the constraint would have been violated? Thanks, Noah Hart