Forum Discussion
AjcbutlerSeiki
Apr 11, 2025Copper Contributor
Error when trying to create a Trigger
Hi I am trying to create a trigger so when a value changes from null to a value it copies the value into another field. However, I am getting errors on the basic code like BEFORE. Any ideas wh...
- Apr 14, 2025
Hi
I managed to resolve the issue. I think it was because the code I was using was mySQL and when I converted it to TSQL it works.
Thanks for trying to help.
Aaron
rodgerkong
Apr 14, 2025Iron Contributor
Check out the SQL Server syntax of Trigger https://learn.microsoft.com/en-us/sql/t-sql/statements/create-trigger-transact-sql?view=sql-server-ver16