【发布时间】:2011-11-28 15:00:38
【问题描述】:
当我遇到一个奇怪的错误时,我尝试执行以下代码。 我希望你们能在这里帮助我:)
CREATE TRIGGER Vlucht_Duurtussenstop
ON dbo.Vlucht
AFTER UPDATE,INSERT
AS
BEGIN
IF (new.Duurtussenstop <> old.Duurtussenstop)
BEGIN
EXECUTE dbo.testprocudure1
@p_vluchtDuurtussenstop = Duurtussenstop
END
END
GO
给予
[15:50:03] Gert-Jan Bos: Msg 102, Level 15, State 1, Line 7
Incorrect syntax near ' '.
Msg 102, Level 15, State 1, Line 12
Incorrect syntax near ' '.
Msg 102, Level 15, State 1, Line 14
Incorrect syntax near ' '.
【问题讨论】: