Record not getting deleted from MySQL database -
i added record in table in mysql database, trying delete particular record table, not getting deleted & showing message:
#1062 - duplicate entry '3107' key 'primary'
how delete entry?
you can not error during delete
. update or insert can return either not running delete
or have trigger on table, making other changes, give error.
if child tables have on delete cascade
,check them triggers well.
Comments
Post a Comment