Click here to Skip to main content
15,942,710 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have created simple stored procedure to insert values to table, If i try to insert duplicate value it has to show the error, but it not showing error, it showing executed succesfully, but when see the table that duplicate value not inserted. How i handle these errors.
Posted
Updated 27-Apr-17 4:08am

1 solution

Please refer this article Error-Handling[^] in MySQL.
Hope you get some help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900