Ecco un modo usando un trigger INVECE DI.
CREATE TRIGGER MyTrigger ON MyTable INSTEAD OF INSERT AS
INSERT MyTable(col1, [other columns])
SELECT UPPER(i.col1)
, i.[other columns]
FROM Inserted i
Ecco un modo usando un trigger INVECE DI.
CREATE TRIGGER MyTrigger ON MyTable INSTEAD OF INSERT AS
INSERT MyTable(col1, [other columns])
SELECT UPPER(i.col1)
, i.[other columns]
FROM Inserted i