Is it possible to prevent any changes to a row in sql?
Let’s say the record is created. But once it’s created I don’t want the record to be modified ever.
So the user can still try to do a update table set column = value .. but that would raise an error preventing it to be modified something like that.
yes you could do it with a trigger provided that the user doesn’t do something like this
you can also deny update on that column like this (SQL Server 2005 and up syntax)