(SQL 2005)
Suppose that I've a db that contains an (Employee table) consistes of the fields :
- ID
- Name
- Code
- Department
and i'd like to show the user say (Kevin) just the name+Department of all employees and hide the ID+Code . I've tried to go to the Employee table properties > Permissions >Select>Columns permissions > Grant the name+Department and Deny ID+Code.
The result >>
Kevin can't see any data unless I grant him ALL the fields!!
Any suggestions.
Suppose that I've a db that contains an (Employee table) consistes of the fields :
- ID
- Name
- Code
- Department
and i'd like to show the user say (Kevin) just the name+Department of all employees and hide the ID+Code . I've tried to go to the Employee table properties > Permissions >Select>Columns permissions > Grant the name+Department and Deny ID+Code.
The result >>
Any suggestions.