On Thu, Apr 05, 2012 at 04:08:29PM +0200, Gert Corthout scratched on the wall:
> 
> hi all,
> I have the database set to fail in case of constraint violation.
> And it does return SQLITE_CONSTRAINT from sqlite3_step when I try
> to insert/update an invalid foreign key. But is there any way to
> find out exactly which constraint failed as I might have many
> foreign key fields in the record.

  No.

  Search the mailing list for multiple, extended discussions about why.

   -j

-- 
Jay A. Kreibich < J A Y  @  K R E I B I.C H >

"Intelligence is like underwear: it is important that you have it,
 but showing it to the wrong people has the tendency to make them
 feel uncomfortable." -- Angela Johnson
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to