I use SQL Server 2008.
I need to DENY any delete operations on a specific ROW in a Table.
I would like to know how can implement this feature at DB level.
Please provide a sample of T-SQL. Thanks for your time.
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.
Use INSTEAD OF DELETE trigger and ROLLBACK TRAN. Here is a good article on this.