[sqlite] Which CHECK constraint failed

2016-05-09 Thread Cecil Westerhof
2016-05-09 16:18 GMT+02:00 Dominique Devienne : > On Mon, May 9, 2016 at 3:48 PM, Dominique Devienne > wrote: > > On Mon, May 9, 2016 at 3:46 PM, Dominique Devienne > wrote: > >> On Mon, May 9, 2016 at 3:21 PM, Cecil Westerhof > wrote: > >>> [...] Is there a way to get this information? > >> >

[sqlite] Which CHECK constraint failed

2016-05-09 Thread Dominique Devienne
On Mon, May 9, 2016 at 3:48 PM, Dominique Devienne wrote: > On Mon, May 9, 2016 at 3:46 PM, Dominique Devienne > wrote: >> On Mon, May 9, 2016 at 3:21 PM, Cecil Westerhof >> wrote: >>> [...] Is there a way to get this information? >> >> Just name your CHECK constraint, and use a recent

[sqlite] Which CHECK constraint failed

2016-05-09 Thread Dominique Devienne
On Mon, May 9, 2016 at 3:46 PM, Dominique Devienne wrote: > On Mon, May 9, 2016 at 3:21 PM, Cecil Westerhof > wrote: >> I made a table with a few CHECK constraints. When an INSERT is not >> possible, I would like to know which CHECK constraint fired. Is there a way >> to get this information?

[sqlite] Which CHECK constraint failed

2016-05-09 Thread Dominique Devienne
On Mon, May 9, 2016 at 3:21 PM, Cecil Westerhof wrote: > I made a table with a few CHECK constraints. When an INSERT is not > possible, I would like to know which CHECK constraint fired. Is there a way > to get this information? Just names your CHECK constraint, and use a recent version of

[sqlite] Which CHECK constraint failed

2016-05-09 Thread Cecil Westerhof
I made a table with a few CHECK constraints. When an INSERT is not possible, I would like to know which CHECK constraint fired. Is there a way to get this information? -- Cecil Westerhof