SQL Guide : Using SQL for database administration : Managing tables : Accessing system tables
  
Accessing system tables
The solidDB® system tables store solidDB® server information, including user information. Your ability to access specific system tables depends on your user's role and access rights. For example, DBAs can view all information about all stored procedures, including the procedure definition text (i.e. the CREATE PROCEDURE statement). Normal users can see the stored procedures, including the procedure definition text, for procedures that they have created. Normal users who have execute access on a stored procedure, but who did not create that stored procedure, may look at some information about that stored procedure but may not see the procedure definition text. For a list of system tables, refer to Database system tables and system views.
The table below provides the viewing access and/or object granting privileges for specific system tables and their data by user role and user access rights.
Note that a "User with access rights" in this table refers to a normal user who has any one of the following rights: INSERT, UPDATE, DELETE, or SELECT access.*
Tasks
DBA
Owner
User with access rights*
User with no access rights
Viewing SYS_TABLES
All (no restrictions)
All (no restrictions)
All (no restrictions)
All (no restrictions)
Viewing User tables in SYS_TABLES
All (no restrictions)
Restricted to the owners' tables only
All tables to which the user has INSERT, UPDATE, DELETE, SELECT, or REFERENCES access rights.
No tables can be viewed.
Viewing SYS_COLUMNS
All (no restrictions)
Columns in the owner's tables
Columns in tables to which the user has INSERT, UPDATE, DELETE, SELECT, or REFERENCES access rights.
No columns can be viewed.
Viewing
SYS_PROCEDURES (excluding the procedure definition text — i.e. the text of the CREATE PROCEDURE statement)
All (no restrictions)
Those procedures created by the user (owner).
Those procedures in which the user has execute access.
No procedures can be viewed.
Viewing Procedure definition text in SYS_PROCEDURES
All (no restrictions)
Those procedures created by the user (owner)
Note that execute access does not allow the user to see the procedure definition text.
No procedures or procedure definition text can be viewed.
Ability to Grant Access rights on procedures
Yes
Yes
No
No
Viewing SYS_TRIGGERS
All (no restrictions)
Those triggers created by the user (owner)
None
No triggers can be viewed.
Viewing Trigger definition text in SYS_TRIGGERS
All (no restrictions)
Those triggers created by the user (owner)
None
No triggers can be viewed.
See also
Managing tables