jjzjj

getQueueMessage

全部标签

mysql存储过程错误: missing semicolon

我有以下存储过程。这是给我一些错误DROPprocedureIFexistsgetQueueMessage;DELIMITER$$CREATEDEFINER=`root`@`localhost`PROCEDURE`getQueueMessage`(msgvarchar(100))BEGINSELECT`Name`FROMqueuesWHEREIdIN(SELECTPhysicalQueueIdFROMindexqueuemapsWHEREConditionFieldValue=msg)ENDEND$$DELIMITER;它给我缺少分号错误。不知道为什么会出现此错误。有人可以帮助我吗?