Top 1000+ Solved DataBase Management System (DBMS) MCQ Questions Answer

From 31 to 45 of 1187

Q. Which of the following is used to avoid cascading of authorizations from the user?

a. granted by current role

b. revoke select on department from amit, satoshi restrict;

c. revoke grant option for select on department from amit;

d. revoke select on department from amit, satoshi cascade;

  • b. revoke select on department from amit, satoshi restrict;

Q. The granting and revoking of roles by the user may cause some confusions when that user role is revoked. To overcome the above situation

a. the privilege must be granted only by roles

b. the privilege is granted by roles and users

c. the user role cannot be removed once given

d. by restricting the user access to the roles

  • a. the privilege must be granted only by roles

Q. Which of the following header must be included in java program to establish database connectivity using JDBC ?

a. import javsql.*;

b. import java.sql.odbc.jdbc.*;

c. import java.jdb*;

d. import java.sql.jdbc.*;

  • a. import java.sql.*;

Q. Which of the following invokes functions in sql?

a. prepared statements

b. connection statement

c. callable statements

d. all of the mentioned

  • c. callable statements

Q. Which of the following is used as the embedded SQL in COBOL?

a. exec sql <embedded sql statement >;

b. exec sql <embedded sql statement > end-exec

c. exec sql <embedded sql statement >

d. exec sql <embedded sql statement > end exec;

  • b. exec sql <embedded sql statement > end-exec

Q. Which of the following is used to access large objects from a database ?

a. setblob()

b. getblob()

c. getclob()

d. all of the mentioned

  • d. all of the mentioned

Q. Triggers are supported in

a. delete

b. update

c. views

d. all of the mentioned

  • c. views

Q. What are the after triggers?

a. triggers generated after a particular operation

b. these triggers run after an insert, update or delete on a table

c. these triggers run after an insert, views, update or delete on a table

d. all of the mentioned

  • b. these triggers run after an insert, update or delete on a table

Q. The variables in the triggers are declared using

a. –

b. @

c. /

d. /@

Q. Which of the following is NOT an Oracle- supported trigger?

a. before

b. during

c. after

d. instead of

  • b. during

Q. Triggers                  enabled or disabled

a. can be

b. cannot be

c. ought to be

d. always

  • a. can be
Subscribe Now

Get All Updates & News