标签:style class blog code color cti
查看指定帐号的授权信息
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 protecttype 10 when 205 then ‘GRANT‘ 11 when 206 then ‘DENY‘ 12 else null end , 13 columns, 14 grantor 15 from sysprotects where uid = USER_ID( ‘xxx‘)
标签:style class blog code color cti
原文地址:http://www.cnblogs.com/lihuiyw/p/3793137.html