1.

In an SQL Server, which of the statements about a trigger is correct?

2.

In an SQL Server, if you want to create a user-defined table that can be replicated for any new user database, then you should create the table in the ____________________ database.

3.

In an SQL Server, which of the following files is essential for any type of database?

 

  1. Primary data file

  2. Secondary data file

  3. Transaction Log


  4.  
4.

In an SQL Server, which of the following system tables contains the pointer of the root page of an index?
5.

In an SQL Server, ____________________ is the property possessed by a transaction when locking is implemented.
6.

In an SQL Server, which of the following statements is correct?

 

  1. A view is used to derive data from multiple tables across different databases. However, a view cannot be used to derive data from a temporary table.

  2. A base table can be modified through a view if the modification does not involve any computed column.


  3.  
7.
Which of the following system databases is used by an SQL Server to sort data before returning the result?
8.
In an SQL Server, which of the following system functions is used to determine the line number at which the error has occurred?
9.

In an SQL Server, which of the following queries will you use to list all the employees with their username, first name, last name, and working in the Operations department? 

EMP_ID User_name F_Name L_name Dep_ID
1 AAlice Alice Smith 1
2 BBob Bob Jones 2
3 BBen Ben Johnson 2
4 MMike Mike White 2
5 AAnita Anita Williams 3
6 LLisa Lisa Davis 3
7 MMary Mary Brown 4
8 JJohn John Wilson 4

 

Dep_ID Dep_name
1 Technical Innovations
2 Technical Support
3 Operations
4 Customer Delight
10.
In an SQL Server, which of the following functions will return the names of all the distributors who live in a country specified by the user at runtime?