I have the table Tb
Tb
ID | Name | Desc ------------------------- 1 | Sample | sample desc
I want to create a trigger on INSER
You may want to look at INSTEAD OF triggers.
INSTEAD OF
CREATE TRIGGER Tb_InsteadTrigger on Tb INSTEAD OF INSERT AS BEGIN ...
This will allow you to manipulate the data before it goes into the table. The trigger is responsible for inserting the data to the table.