﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Database Deployment Toolkit » Database Deployment Toolkit (How do I?)  » problem to deploy trigger in Deployment Toolkit</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 10:26:30 GMT</lastBuildDate><ttl>20</ttl><item><title>problem to deploy trigger in Deployment Toolkit</title><link>http://forum.strataframe.net/FindPost21925.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have a problem to deploy a triger in DDT, my trigger code as bellow:&lt;/P&gt;&lt;P&gt;====================================&lt;/P&gt;&lt;P&gt;AFTER INSERT&lt;BR&gt;set ANSI_NULLS ON&lt;BR&gt;set QUOTED_IDENTIFIER ON&lt;/P&gt;&lt;P&gt;AS&lt;BR&gt;BEGIN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Prevent the result count from interfering&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET NOCOUNT ON;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Add trigger logic here&lt;BR&gt;&amp;nbsp;declare @curid int, @curcode nchar(5), @cureffectivedate smalldatetime, @currate smallmoney, @lastuser nvarchar(25)&lt;BR&gt;&amp;nbsp;select @curid=curid, @curcode=curcode, @cureffectivedate=cureffectivedate, @currate=currate, @lastuser=lastuser from inserted&lt;BR&gt;&amp;nbsp;insert into exchangerate values (@curcode, @curid, @cureffectivedate, @currate, @lastuser, getdate())&lt;BR&gt;END&lt;BR&gt;=============&lt;/P&gt;&lt;P&gt;too simple but I don't know why can not to delpoy it, the error message as bellow.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/53e255b0-3aa1-46d2-a8d5-7154.gif"&gt;</description><pubDate>Thu, 12 Feb 2009 10:41:31 GMT</pubDate><dc:creator>Raymond Lo</dc:creator></item><item><title>RE: problem to deploy trigger in Deployment Toolkit</title><link>http://forum.strataframe.net/FindPost21933.aspx</link><description>What is the text of the error message? The image was resized down and I can't read the contents of it.&lt;/P&gt;&lt;P&gt;Thanks! :)</description><pubDate>Thu, 12 Feb 2009 10:41:31 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item></channel></rss>