You are missing some critical theory begin triggers. If you don't understand exactly why this code below works, then post back so someone can help you clear up your misconceptions.CREATE TRIGGER PX_UPDATE_C29_to_C30 ON dbo.t_partex FOR INSERT, UPDATE AS --'Columns Status (C19) and achieved sp (C26) IF SUBSTRING(COLUMNS_UPDATED(), 3, 1) = POWER(2,(3-1)) OR SUBSTRING(COLUMNS_UPDATED(), 4, 1) = POWER(2,(2-1)) BEGIN UPDATE t_partex SET rss_c29_unsold = ISNULL(io_c26_achieved_selling_price,0) from inserted i inner join t_partex t on i.primarykey = t.primary keywhere i.so_c19_status = 'US'PRINT 'C29 Updated' END
Jay White{0}