SYSCOLAUTH 视图的每一行都描述针对列授予的一组权限(UPDATE、SELECT 或 REFERENCES)。SYSCOLAUTH 视图对SYSCOLPERM 系统视图中的数据提供了用户友好的显示。
在以下的 SQL 语句中提供了组成该视图的表和列。要了解有关特定表或列的详细信息,请使用该视图定义下所提供的链接。
ALTER VIEW "SYS"."SYSCOLAUTH"( grantor,grantee,creator,tname,colname, privilege_type,is_grantable ) as select u1.user_name,u2.user_name,u3.user_name,tab.table_name, col.column_name,cp.privilege_type,cp.is_grantable from SYS.ISYSCOLPERM as cp join SYS.ISYSUSER as u1 on u1.user_id = cp.grantor join SYS.ISYSUSER as u2 on u2.user_id = cp.grantee join SYS.ISYSTAB as tab on tab.table_id = cp.table_id join SYS.ISYSUSER as u3 on u3.user_id = tab.creator join SYS.ISYSTABCOL as col on col.table_id = cp.table_id and col.column_id = cp.column_id |
![]() |
使用DocCommentXchange 讨论此页。
|
版权 © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |