0% found this document useful (0 votes)
156 views2 pages

Dbms Midterm q1 q2

This document discusses database privileges and transactions. It provides examples of granting privileges to users using the GRANT statement. It also lists data manipulation languages like UPDATE, DELETE, and INSERT as part of database transactions, and identifies CREATE TABLE as a data definition language that is part of a transaction. Privileges allow users to access and manipulate database objects, while transactions allow multiple SQL statements to be executed atomically.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
156 views2 pages

Dbms Midterm q1 q2

This document discusses database privileges and transactions. It provides examples of granting privileges to users using the GRANT statement. It also lists data manipulation languages like UPDATE, DELETE, and INSERT as part of database transactions, and identifies CREATE TABLE as a data definition language that is part of a transaction. Privileges allow users to access and manipulate database objects, while transactions allow multiple SQL statements to be executed atomically.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

This is also known collection of objects such as tables, views, and sequences.

Schema
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a SYSTEM?
GRANT INSERT, UPDATE
ON EMPLOYEES
TO HR
WITH GRANT OPTION;
It is a type of privilege that gain access to the database
System
It is a named group of related privileges that can be granted to the user. This method
makes it easier to revoke and maintain privileges.
Role
Which of the following system privileges is not part of the task by the database admin.?
Managing user environment
It is a type of privilege that is used to manipulating the content of the database objects.
Object
Which of the following System Privileges is not part of SYSTEM privilege?
CREATE INDEX
Which of the following is the correct syntax for creating a new user?
CREATE USER hr
IDENTIFIED BY hr;
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a user scott?
GRANT INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO HR;
This is used to remove a privilege granted to a user.
REVOKE
It is a type of privilege that is used to manipulating the content of the database objects.
Object
Which of the following is the correct syntax for creating a new user?
CREATE USER hr
IDENTIFIED BY hr;
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a SYSTEM?
GRANT INSERT, UPDATE
ON EMPLOYEES
TO HR
WITH GRANT OPTION;
Which three (3) of thefollowing is the three Data Manipulation Langauge that is
considered as part of database transaction.
UPDATE
DELETE
INSERT
A transaction ends when either of the following occurs. (Choose 5)
The user encounter system failure
CREATE TABLE is issued
The user closes the isqlplus
The user type in Commit
The user type in Rollback
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a user scott?
GRANT INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO HR;
This is also known collection of objects such as tables, views, and sequences.
Schema
Which one (1) Data Definition Language is considered as part of Database Transaction.
CREATE TABLE
It is a type of privilege that gain access to the database
Systems

You might also like