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 ?

  • Rabi
  • 23 Jul
  • 937 Views
  • 1 Answer
Your 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