adplus-dvertising

Welcome to the SQL Queries,Constraints and Triggers MCQs Page

Dive deep into the fascinating world of SQL Queries,Constraints and Triggers with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of SQL Queries,Constraints and Triggers, a crucial aspect of DBMS. In this section, you will encounter a diverse range of MCQs that cover various aspects of SQL Queries,Constraints and Triggers, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within DBMS.

frame-decoration

Check out the MCQs below to embark on an enriching journey through SQL Queries,Constraints and Triggers. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of DBMS.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of SQL Queries,Constraints and Triggers. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

SQL Queries,Constraints and Triggers MCQs | Page 10 of 17

Explore more Topics under DBMS

Q91.
In order to undo the work of transaction after last commit which one should be used ?
Discuss
Answer: (c).Rollback
Q92.
Consider the following action:

TRANSACTION.....
Commit;
ROLLBACK;

What does Rollback do?
Discuss
Answer: (d).No action
Q93.
In case of any shut down during transaction before commit which of the following statement is done automatically?
Discuss
Answer: (c).Rollback
Q94.
In order to maintain the consistency during transactions database provides
Discuss
Answer: (b).Atomic
Q95.
Which of the following is used to get back all the transactions back after rollback ?
Discuss
Answer: (c).Flashback
Q96.
______ will undo all statements up to commit?
Discuss
Answer: (c).Rollback
Q97.
What will be the result of the query?
CREATE TABLE Employee(Emp_id NUMERIC NOT NULL, Name VARCHAR(20) , dept_name VARCHAR(20), Salary NUMERIC UNIQUE(Emp_id,Name));
INSERT INTO Employee VALUES(1002, Ross, CSE, 10000)
INSERT INTO Employee VALUES(1006,Ted,Finance, );
INSERT INTO Employee VALUES(1002,Rita,Sales,20000);
Discuss
Answer: (d).Error in insert into Employee values(1008,Ross,Sales,20000);
Q98.
Inorder to ensure that the value of budget is non-negative which of the following should be used?
CREATE TABLE Manager(ID NUMERIC,Name VARCHAR(20),budget NUMERIC,Details VARCHAR(30));
Discuss
Answer: (a).Check(budget>0)
Q99.

Which of the following is used to delete the entries in the referenced table when the tuple is deleted in course table?
CREATE TABLE course
( . . .
FOREIGN KEY (dept name) REFERENCES department
. . . );
Discuss
Answer: (b).Delete cascade
Q100.
Domain constraints, functional dependency and referential integrity are special forms of _________
Discuss
Answer: (c).Assertion

Suggested Topics

Are you eager to expand your knowledge beyond DBMS? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!