Hi to all,
I'd like to use a customized error message when occur a CONSTRAINT
violation. The only way seems the use of RAISE() function but it's
applicable only in a TRIGGER. So, if my table is:

CREATE TABLE t1(
   a INTEGER PRIMARY KEY,
   b TEXT DEFAULT NULL,
   UNIQUE(b));

How to raise a custom error message?

Thanks in advance,
Danilo
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to