SYSTABAUTH ビューには、SYSTABLEPERM システムビューの情報が表示されますが、より読みやすい形式です。
ビューを構成するテーブルとカラムは、以下の SQL 文で示されます。特定のテーブルまたはカラムの詳細については、以下のビュー定義にあるリンクを参照してください。
ALTER VIEW "SYS"."SYSTABAUTH"( grantor, grantee,screator,stname,tcreator,ttname, selectauth,insertauth,deleteauth, updateauth,updatecols,alterauth,referenceauth ) as select u1.user_name,u2.user_name,u3.user_name,tab1.table_name, u4.user_name,tab2.table_name,tp.selectauth,tp.insertauth, tp.deleteauth,tp.updateauth,tp.updatecols,tp.alterauth, tp.referenceauth from SYS.ISYSTABLEPERM as tp join SYS.ISYSUSER as u1 on u1.user_id = tp.grantor join SYS.ISYSUSER as u2 on u2.user_id = tp.grantee join SYS.ISYSTAB as tab1 on tab1.table_id = tp.stable_id join SYS.ISYSUSER as u3 on u3.user_id = tab1.creator join SYS.ISYSTAB as tab2 on tab2.table_id = tp.stable_id join SYS.ISYSUSER as u4 on u4.user_id = tab2.creator |
![]() |
DocCommentXchange で意見交換できます
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |