Mentor SAP

Features of Database schemas

 

 

 

Data Access Control

Relational database management systems, including SAP HANA, support the following basic ways for controlling which database user can access which data using SQL:

 

DCL statements

GRANT: The GRANT statement is used to selectively grant access permissions to a user or role. Its basic syntax is:

GRANT <list of privileges> ON <database object> TO <user or role> [WITH GRANT OPTION]

 

 

 

 

REVOKE: This statement is used to selectively withdraw access permissions from a user or role. Its basic syntax is:

REVOKE <list of privileges> ON <database object> TO <user or role>

 

 

 

Database Indexes

A database index has the following properties:

 

 

 

 

Database index management

 

Create Index: This statement is used to create an index.

CREATE [UNIQUE] INDEX <index name> ON <table name> (<list of columns>).

 

 

DROP Index: This statement is used to delete an index. The underlying database table and its data are not deleted.

DROP INDEX <index name>