I want to write a trigger to run on any insert or update so that whatever values inserted, a desired value should be entered to a particular coloumn.
Let's say my table is T1 and it has columns a(number),b(Text),c(DateTime) . I want the trigger force to take GETDATE() value for column c...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.