Database Management Systems Mcqs

Page No. 61

When SQL statements are embedded inside 3GL, we call such a program as


aNested query

✖


bNested programming

✖


cDistinct query

✖


dEmbedded SQL

✓


View Answer Embedded SQL

Which of the following SQL command can be used to modify existing data in a database table?


aMODIFY

✖


bUPDATE

✓


cCHANGE

✖


dNEW

✖


View Answer UPDATE

The SQL statement SELECT SUBSTR(‘123456789’, INSTR(‘abcabcabc’,’b’), 4) FROM EMP; prints


a6789

✖


b2345

✓


c1234

✖


d456789

✖


View Answer 2345

Which is the subset of SQL commands used to manipulate Oracle Database Structures, including tables?


aData Definition Language

✓


bData Manipulation Language

✖


cData Described Language

✖


dData Retrieval Language

✖



What are the different events in Triggers?


aDefine, Create

✖


bDrop, Comment

✖


cInsert, Update, Delete

✓


dSelect, Commit

✖



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


aCan be assigned to a global variable

✖


bCan be assigned to any field only during design time

✓


cCan be assigned to any variable or field during run time

✖


dCan be assigned to a local variable

✖



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


aINSTR

✖


bSUBSTRING

✖


cSUBSTR

✓


dPOS

✖


View Answer SUBSTR

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


aCREATE PACKAGE

✖


bCREATE SCHEMA

✓


cCREATE CLUSTER

✖


dAll of the mentioned

✖


View Answer CREATE SCHEMA

____ means that the data used during the execution of a transaction cannot be used by a second transaction until the first one is completed.


aConsistency

✖


bAtomicity

✖


cDurability

✖


dIsolation

✓


View Answer Isolation

The Oracle RDBMS uses the ____ statement to declare a new transaction start and its properties.


aBEGIN

✖


bSET TRANSACTION

✓


cBEGIN TRANSACTION

✖


dCOMMIT

✖


View Answer SET TRANSACTION

Goto Page No.

Page 61 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