Question : users who have UPDATE privilege on user tables

is it possible to see all the users who have any update privileges on the tables in a database, through TSQL Code?

Thanks

Answer : users who have UPDATE privilege on user tables

try this:

SELECT
   [Login]       = cast( pr.name AS varchar(20)),
   [Object Name] = cast( o.name AS varchar(40)),
   [Object Type] = cast( o.type_desc AS varchar(22)),
   [Permisson]   = cast( pm.permission_name AS varchar(15)),
   [State]       = cast( pm.state_desc AS varchar(10))
FROM sys.database_principals pr
   JOIN sys.database_permissions pm
      ON pr.principal_id = pm.grantee_principal_id
   JOIN sys.objects o
      ON pm.major_id = o.object_id
WHERE (   pr.type = 'S'
      AND pr.name = @Login
      AND o.name  = @Object
      )
ORDER BY
   [Login],
   [Object Type],
   [Object Name]
Random Solutions  
 
programming4us programming4us