Is there any way to configure a SQL server instance to not permit updates to values inserted in the database?
e.g. once inserted, the value is fixed, other columns in that same row may be changed, but that value is only written once.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Write a trigger on update that checks the current column against the new value being inserted and rolls back the transaction if the values differ.