problem to deploy trigger in Deployment Toolkit


Author
Message
Raymond Lo
Raymond Lo
StrataFrame Beginner (26 reputation)StrataFrame Beginner (26 reputation)StrataFrame Beginner (26 reputation)StrataFrame Beginner (26 reputation)StrataFrame Beginner (26 reputation)StrataFrame Beginner (26 reputation)StrataFrame Beginner (26 reputation)StrataFrame Beginner (26 reputation)StrataFrame Beginner (26 reputation)
Group: Forum Members
Posts: 18, Visits: 101
Hi,

 I have a problem to deploy a triger in DDT, my trigger code as bellow:

====================================

AFTER INSERT
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON

AS
BEGIN

    -- Prevent the result count from interfering
    SET NOCOUNT ON;

    -- Add trigger logic here
 declare @curid int, @curcode nchar(5), @cureffectivedate smalldatetime, @currate smallmoney, @lastuser nvarchar(25)
 select @curid=curid, @curcode=curcode, @cureffectivedate=cureffectivedate, @currate=currate, @lastuser=lastuser from inserted
 insert into exchangerate values (@curcode, @curid, @cureffectivedate, @currate, @lastuser, getdate())
END
=============

too simple but I don't know why can not to delpoy it, the error message as bellow.


Dustin Taylor
Dustin Taylor
StrataFrame Team Member (484 reputation)
Group: StrataFrame Users
Posts: 364, Visits: 771
What is the text of the error message? The image was resized down and I can't read the contents of it.

Thanks! Smile

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search