I have an instead of trigger. I have a value in a variable.
I would like to insert the value into one of the columns and use the fields from inserted. This is what I am trying to accomplish:
declare @someLocalVariable varchar(9)
set @someLocalVariable = dbo.someLocalUDF()
INSERT myTable (field1, field2, field3)
VALUES (@someLocalVariable, (select field2, field3 from inserted))