首页 > 代码库 > 查看帐号授权信息

查看帐号授权信息

查看指定帐号的授权信息

 1 select OBJECT_NAME (id), USER_NAME (uid), 2 case action 3 when 193 then select 4 when 195 then insert 5 when 196 then delete 6 when 197 then update 7 when 224 then execute 8 else null end , 9 case protecttype10 when 205 then GRANT11 when 206 then DENY12 else null end ,13 columns,14 grantor15 from sysprotects where uid = USER_ID( xxx)