sql 权限语句
来源:互联网 发布:python socket 雪峰 编辑:程序博客网 时间:2024/06/07 10:05
select object_name(a.id) as objectname,
user_name(a.uid) as usename,
case b.issqlrole when 1 then 'Group '
else 'User'
end as Role,
case a.protecttype when 205 then 'Grant'
when 204 then 'Grant'
when 206 then 'Deny'
else 'Revoke'
end as ProtectType,
case a.[action] when 26 then 'REFERENCES'
when 178 then 'CREATE FUNCTION'
when 193 then 'SELECT'
when 195 then 'INSERT'
when 196 then 'DELETE'
when 197 then 'UPDATE'
when 198 then 'CREATE TABLE'
when 203 then 'CREATE DATABASE'
when 207 then 'CREATE VIEW'
when 222 then 'CREATE PROCEDURE'
when 224 then 'EXECUTE'
when 228 then 'BACKUP DATABASE'
when 233 then 'CREATE DEFAULT'
when 235 then 'BACKUP LOG'
when 236 then 'CREATE RULE'
else '0'
end as [Action],
user_name(a.grantor) as Grantor
from sysprotects a inner join sysusers b on a.uid=b.uid
where exists (select 1 from sysobjects
where [name]=object_name(a.id) and xtype <>'S' )
and a.uid=user_id('bpm')
order by object_name(a.id)
- sql 权限语句
- sql权限查询语句
- hibernate权限模块SQL语句
- 生成sql语句-权限&同义词
- 用SQL语句做权限控制
- 获取用户和权限SQL语句
- Oracle 用户,角色,权限的sql语句
- Oracle:SQL语句--给用户赋权限
- [SQL Server]角色与权限相关语句
- oracle关于权限的一些sql语句
- spring security权限资源管理,数据库sql语句源码
- oracle 赋权限 给所有用户sql 语句
- sql语句创建用户、及权限的设置
- 查看用户所拥有的所有权限的sql语句
- [提权禁区] SQL语句利用xp_cmdshell获取权限
- 表空间、用户及其权限的相关SQL语句
- sql 权限
- Oracle 权限查询语句
- 网上找来的一个比较好用的3DES,找了很多都有问题。先用着这个吧。再次感谢提供算法的同学
- 三年(一)
- 文件双向同步的一点想法
- Android下修改hosts文件
- Microsoft Win32 to Microsoft .NET Framework API Map
- sql 权限语句
- HTTP 错误 404.13 - Not Found,请求筛选模块被配置为拒绝超过请求内容长度的请求
- Hibernate性能优化策略
- FLV连续播放,object参数设置
- Access contents of Google Chrome Cache Folder
- 利用winrar实现定时备份 实现全备份和增量备份
- Textbox的用法
- 怎么让模态对话框最小化时,主窗口也最小化
- html与javascript的交互