Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - SQL 参考 » 系统对象 » 视图 » 系统视图

 

SYSGROUP 系统视图

对于每组的每一个成员,在 SYSGROUP 系统视图中都有与之对应的一行。该视图介绍了组与成员之间的多对多关系。一个组可以有许多成员,而一个用户也可以是许多组的成员。该视图的基础系统表为 ISYSGROUP。

列名 列类型 说明
group_id UNSIGNED INT 组的用户号。
group_member UNSIGNED INT 成员的用户号。
基础系统表上的约束

PRIMARY KEY (group_id, group_member)

FOREIGN KEY group_id (group_id) 引用 SYS.ISYSUSER (user_id)

FOREIGN KEY group_member (group_member) 引用 SYS.ISYSUSER (user_id)