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
Author
Message
Posted Monday, February 9, 2009 4:16 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, November 18, 2014 12:43 PM
Points: 18, Visits: 57
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