Database Management System MCQ Set 5



1. In SQL, which command is used to issue multiple CREATE TABLE, CREATE VIEW and GRANT statements in a single transaction?

A) CREATE PACKAGE
B) CREATE SCHEMA
C) CREATE CLUSTER
A) All of the above


2. In SQL, the CREATE TABLESPACE is used

A) to create a place in the database for storage of scheme objects, rollback segments, and naming the data files to comprise the tablespace.
B) to create a database trigger.
C) to add/rename data files, to change storage
D) All of the above


3. Which character function can be used to return a specified portion of a character string?

A) INSTR
B) SUBSTRING
C) SUBSTR
D) POS


4. Which of the following is TRUE for the System Variable $date$?

A) Can be assigned to a global variable.
B) Can be assigned to any field only during design time.
C) Can be assigned to any variable or field during run time.
D) Can be assigned to a local variable.


5. What are the different events in Triggers?

A) Define, Create
B) Drop, Comment
C) Insert, Update, Delete
D) Select, Commit


6) The RDBMS terminology for a row is

A. tuple
B. relation
C. attribute
D. degree


7) To change column value in a table the ......... command can be used.

A. create
B. insert
C. alter
D. update


8) The full form of DDL is

A. Dynamic Data Language
B. Detailed Data Language
C. Data Definition Language
D. Data Derivation Language


9) To pass on granted privileges to other user the ...... clause is used

A. create option
B. grant option
C. update option
D. select option


10) A set of possible data values is called

A. attribute
B. degree
C. tuple
D. domain







Answers
1.b
2.a
3.c
4.b
5.c
6.a
7.d
8.c
9.b
10.d

0 comments:

Back to TOP