0
DELIMITER $$
   CREATE PROCEDURE sdmLoggingSystem()
   BEGIN
   INSERT IGNORE INTO `databasename`.`tablename`
  (`stringval1`, `numericValue2`,`datetime`)
   values("AA",23,now());
END $$
DELIMITER ;

The above MySQL Stored Procedure runs successfully, but it does not insert the data into the table, But when I run the mysql query separately, it does insert into the table. Is there anything wrong in the code that I cannot see?

Mike Lischke
  • 42,670
  • 15
  • 104
  • 155
Manam
  • 357
  • 4
  • 16

0 Answers0