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 讨论此页。
|
版权 © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |