Posts by Apolinario Ernesto • 36 points
1 post
-
2
votes3
answers98
viewsA: How to check if the record exists in the database and update if it exists
Usually for these cases I resort to stored Procedure to perform these control operations, e.g.: CREATE DEFINER=`root`@`localhost` PROCEDURE 'gravar_pessoas'(zid int, znome varchar(100)) begin if not…