Prevent duplicate record |
Hi
I have a like table that have user_id and comment_id field I need user only can like once each comment and i dont want to check it with SELECT Maybe adjust table column that occur error when insert record? Like primary error I attach my table shot I want only insert record example user_id,comment_id 2,4 for next insert,show error for insert Maybe? |
Messages In This Thread |
Prevent duplicate record - by omid_student - 06-10-2020, 01:41 AM
RE: Prevent duplicate record - by InsiteFX - 06-10-2020, 03:07 AM
RE: Prevent duplicate record - by omid_student - 06-10-2020, 03:19 AM
RE: Prevent duplicate record - by InsiteFX - 06-10-2020, 07:59 AM
RE: Prevent duplicate record - by omid_student - 06-10-2020, 11:51 AM
|