"Lothar Behrens"
<[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]
> Unique index and using replace into ... changes the primary key value,
> what I cannot handle yet, because I am using triggers
> to force foreign key referential integrity and updating is not yet
> implemented.

Use simple INSERT, it will fail if uniqueness is violated, preserving 
your id.

Igor Tandetnik 



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

Reply via email to