Is there a way to prevent drop or truncate a specific table by admin , in sql server .
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sivaraman DhamodaranRank #40 · 34.5K reputationPosted Nov 8, 2012, 3:08 AM EST
A normal user can not (Unless one more admin) prevent admin doing the same
Do you want to trouble your db admin :)
PUNEET BISHT9 reputationPosted Nov 8, 2012, 6:48 PM EST
because sometimes a table is accidently truncated or deleted,
making view is not a good idea.
if i make a trigger ,it is implemented in all tables in db.
i just want to implement it in specific tables,