-3
DELIMITER $$
DROP PROCEDURE IF EXISTS `payroll`.`usp_DeleteDesignation`$$
CREATE PROCEDURE `payroll`.`usp_DeleteDesignation`
(
IN DesgID int(11)
)
/*LANGUAGE SQL
| [NOT] DETERMINISTIC
| { CONTAINS SQL | NO SQL | READS SQL DATA | MODIFIES SQL DATA }
| SQL SECURITY { DEFINER | INVOKER }
| COMMENT 'string'*/
BEGIN
DELETE from info_designation
(
Desg_ID,
Designation,
Desg_Description,
CreatedBy,
CreatedOn,
UpdatedBy,
UpdatedOn,
DeletedFlag
)
where
Desg_ID = DesgID;
END$$
DELIMITER ;
錯誤: (0受影響行(S)) (0採取MS)存儲過程中刪除SQLyog的
錯誤代碼:1064 您的SQL語法錯誤;檢查對應於你的MySQL服務器版本使用附近 '( Desg_ID, 型號, Desg_Description, CreatedBy, CreatedOn, UpdatedBy,' 在第12行 正確的語法(取0毫秒)
所以什麼問題? – enkor