我有一个包含三个变量的表。一个是出局,另一个是限制性。严格是列的名称,但是系统将其视为变量。它不是。它也不是保留字。
由于这是更新,因此禁止新建
Operation failed: There was an error while applying the SQL script to the database.
ERROR 1193: Unknown system variable 'strict'
SQL Statement:
CREATE DEFINER = CURRENT_USER TRIGGER `bibliotech`.`patronus_AFTER_UPDATE` AFTER UPDATE ON `patronus` FOR EACH ROW
BEGIN
if amount > 5.65
then set strict =1;
elseif amount <5.65
then set strict =0;
end if;
ND