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 11 of 17

Q101.
Create index studentID_index on student(ID);
Here which one denotes the relation for which index is created ?
Discuss
Answer: (d).Student
Q102.
Values of one type can be converted to another domain using which of the following ?
Discuss
Answer: (a).Cast
Q103.
CREATE DOMAIN YearlySalary NUMERIC(8,2)
CONSTRAINT salary VALUE test __________;

In order to ensure that an instructor’s salary domain allows only values greater than a specified value use:
Discuss
Answer: (c).Check(value >= 29000.00);
Q104.
In contemporary databases the top level of the hierarchy consists of ______ each of which can contain _____
Discuss
Answer: (a).Catalogs, schemas
Q105.
The database administrator who authorizes all the new users, modifies database and takes grants privilege is
Discuss
Answer: (d).All of the mentioned
Discuss
Answer: (a).GRANT 'privilege list'
ON 'relation name or view name'
TO 'user/role list';
Q107.
Which of the following is used to access the database server at time of executing the program and get the data from the server accordingly ?
Discuss
Answer: (b).Dynamic SQL
Q108.
Which of the following header must be included in java program to establish database connectivity using JDBC ?
Discuss
Answer: (a).Import java.sql.*;
Discuss
Answer: (b).URL or machine name where server runs, User ID, Password
Q110.
Which of the following invokes functions in sql ?
Discuss
Answer: (c).Callable statements

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!