If I have a SQL Server Trigger can I execute different update statements depending on the value of inserted/updated record?
IF inserted.Make = 'FORD'
BEGIN
UPDATE that depends on Ford
END
ELSE
BEGIN
UPDATE that depends on other Make
END
I thought this was correct but I am getting The multi-part identifier "inserted.Make" could not be bound
.