1.0

Table Of Contents
ContentsNullableLengthTypeColumn Name
that the creator (the database
owner) is always allowed to
grant the newly created role.
Currently roles cannot be
granted WITH ADMIN
OPTION, so if the row
represents a role grant, the value
is always 'N'.
If the row represents a role
denition, this value is 'Y'. If the
false1CHARISDEF
row represents a role grant, the
value is 'N'.
SYSROUTINEPERMS system table
The SYSROUTINEPERMS table stores the permissions that have been granted to routines.
Each routine EXECUTE permission is specied in a row in the SYSROUTINEPERMS table. The keys for the
SYSROUTINEPERMS table are:
Primary key (GRANTEE, ALIASID, GRANTOR)
Unique key (ROUTINEPERMSID)
Foreign key (ALIASID references SYS.SYSALIASES)
The following table shows the contents of the SYSROUTINEPERMS system table.
Table 23: SYSROUTINEPERMS system table
ContentsNullableLengthTypeColumn Name
Used by the dependency
manager to track the
false36CHARROUTINEPERMSID
dependency of a view, trigger,
or constraint on the routine level
permissions
The authorization ID of the user
or role to which the privilege is
granted
false128VARCHARGRANTEE
The authorization ID of the user
who granted the privilege.
false128VARCHARGRANTOR
Privileges can be granted only
by the object owner.
The ID of the object of the
required permission. If
false36CHARALIASID
PERMTYPE='E', the ALIASID
is a reference to the
SYS.SYSALIASES table.
Otherwise, the ALIASID is a
reference to the
SYS.SYSTABLES table.
vFabric SQLFire User's Guide618
vFabric SQLFire Reference