Previous Topic: Manipulating Data in SQL TablesNext Topic: Performing SQL Administrative Tasks


Controlling Access Through SQL Statements

In the Interactive SQL Service Facility, you can use the SQL Data Control Language (DCL) to define the kind of access authorized for a particular resource. This includes granting privileges to other users or revoking those privileges. See How to Submit SQL Statements.

Important! If the CA Datacom/DB Security Facility is not installed at your site, the GRANT and REVOKE statements are rejected with an SQL error code -559. All tables and views in the statement must belong to databases secured under the SQL Security Model. If tables and views are in databases secured under the CA Datacom/DB External Security Model, the GRANT and REVOKE statements are rejected with an SQL error code -273. See the CA Datacom Security Reference Guide for more information about security models.