Database Management Systems Mcqs

Page No. 13

Which of the following is true regarding views?


aThe user who creates a view cannot be given update authorization on a view without having update authorization on the relations used to define the view


bThe user who creates a view cannot be given update authorization on a view without having update authorization on the relations used to define the view


cIf a user creates a view on which no authorization can be granted, the system will allow the view creation request


dA user who creates a view receives all privileges on that view



Which of the following statement is used to remove the privilege from the user Amir?


aRemove update on department from Amir


bRevoke update on employee from Amir


cDelete select on department from Raj


dGrant update on employee from Amir



Which of the following is used to provide privilege to only a particular attribute?


aGrant select on employee to Amit


bGrant update(budget) on department to Raj


cGrant update(budget,salary,Rate) on department to Raj


dGrant delete to Amit



The database administrator who authorizes all the new users, modifies the database and takes grants privilege is


aSuper user


bAdministrator


cOperator of operating system


dAll of the mentioned


View Answer All of the mentioned

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


asetBlob()


bgetBlob()


cgetClob()


dall of the mentioned


View Answer all of the mentioned

Which of the following is used to distinguish the variables in SQL from the host language variables?


a.


b


c:


d,


View Answer

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


aEXEC SQL ;


bEXEC SQL END-EXEC


cEXEC SQL


dEXEC SQL END EXEC;


View Answer EXEC SQL END-EXEC

Which of the following is a following statement is a prepared statements?


aInsert into department values(?,?,?)


bInsert into department values(x,x,x)


cSQLSetConnectOption(conn, SQL AUTOCOMMIT, 0)


dSQLTransact(conn, SQL ROLLBACK)



Which of the following function is used to find the column count of the particular resultset?


agetMetaData()


bMetadata()


cgetColumn()


dget Count()


View Answer getMetaData()

Which of the following invokes functions in sql?


aPrepared Statements


bConnection statement


cCallable statements


dAll of the mentioned


View Answer Callable statements

Goto Page No.

Page 13 of 101

Alphabetical MCQs Categories

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan