Is there a possible way on SQL-Server 2008 to disable certain tables from being deleted or entire database tables from being deleted or even the deletion of any database/table?
Share
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.
The easy answer is: don’t give permission to drop tables to people who shouldn’t have it. If you’re afraid of someone who should be able to drop a table ACCIDENTALLY doing it, you could create a DDL trigger:
http://msdn.microsoft.com/en-us/library/ms186406(v=sql.105).aspx