Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Adding contrain on table not allowing to delete

Author  Topic 

mike13
Posting Yak Master

219 Posts

Posted - 2014-12-15 : 06:37:08
Hi,

How can Add contrain on table not allowing to delete a row?

Thanks a lot

bitsmed
Aged Yak Warrior

545 Posts

Posted - 2014-12-15 : 12:30:56
How about revoking delete permission on user/usergroup?

deny delete on yourdatabase.dbo.yourtable to youruser
Go to Top of Page
   

- Advertisement -