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 で意見交換できます
|
Copyright © 2013, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |