Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
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 30, 2015 12:35 AM
Points: 18, Visits: 62
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