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
  • 48,925
  • 16
  • 119
  • 181
Manam
  • 354
  • 5
  • 16

0 Answers0