On 5/8/2014 5:14 AM, techi eth wrote:
SQlite3 have any method where it can avoid adding duplicate row or throwing
error status code on duplication.,

Define a UNIQUE constraint or a unique index on those columns you don't want duplicated. Then an attempt to insert a duplicate row would result in an error.
--
Igor Tandetnik

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to