how to i prevent/restrict to show an error when a duplicate data entered in my primary key field ?

how to i prevent/restrict to show an error when a duplicate data entered in my primary key field ?


1 Answer
1-1 of  1
1 Answer
  • you can use INSERT IGNORE command. IGNORE command will sintelly tell the MySql to discard this detail without generating error.

Mysql

Didn't get the answer.
Contact people of Talent-Mysql directly by clicking here