Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Why not using simple permissions? Expand / Collapse
Posted Monday, February 9, 2009 4:16 AM


Group: General Forum Members
Last Login: Thursday, July 21, 2016 8:20 AM
Points: 18, Visits: 65
Instead of the complicated trigger heck-meck, what about simple statements like

-- allow update of column Name (and only column Name) in table TableA to user X
GRANT UPDATE ON [dbo].[TableA] ([Name]) TO [X]

-- deny updating table TableA to a user Y:
DENY UPDATE ON [dbo].[TableA] TO [Y]

Post #652678
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse