I'm trying to modify a field on the record as it comes in if it meets certain criteria. What am i doing wrong ?
CREATE TRIGGER Shipping_Instructions ON dbo.table1
FOR UPDATE
AS
BEGIN
update dbo.table1
set shdel2 = 'Special Requirment'
where shan8 IN ('202010','202012','202167','202564','202632','202711','202743')
CREATE TRIGGER Shipping_Instructions ON dbo.table1
FOR UPDATE
AS
BEGIN
update dbo.table1
set shdel2 = 'Special Requirment'
where shan8 IN ('202010','202012','202167','202564','202632','202711','202743')