SQL is modern database system, which is used in programming and designed for managing data. Take this quiz and learn more about it!
A) Smallest unit of data storage
B) Automatically created at the time of creating a table
C) Allows an application program to find specific data without scanning through the entire table
D) contains information about modifications carried out in the database
Rate this question:
A) Select shows au_id = 1001 and au_name = 'Rajeev'
B) Select shows au_id = 1001 and au_name = 'Raghav'
C) Select shows au_id = 1001 and au_name as NULL
D) None of the listed options
Rate this question:
Prints 'I am here in one'
B) Prints 'I am here in two' " Prints 'I am here in one' Prints 'I am here in two'
C) "Prints 'I am here in one' Prints 'I am here in two'
D) Prints 'I am here in one'" Prints nothing
Rate this question:
A) two clustered indexes idx1 and idx2 will be created on emp table
B) Only one clustered index idx1 will be created on emp table
C) Only one clustered index idx2 will be created on emp table
D) No index will be created on emp table
Rate this question:
A) Scalar function
B) In-line table valued function
C) Multi-statement table valued function
D) None of the listed options
Rate this question:
A) Improved Security
B) Precompiled Execution
C) Automatic Execution
D) Reuse Of Code
Rate this question:
A) @@TRANCOUNT
B) @@TRANS
C) @@TRASACTIONCOUNT
D) @@TRANSACTIONS
Rate this question:
Under msdb database in sysxlogins tables
Under tempdb database in sysxlogins tables
Under Master database in sysxlogins tables
None of the listed options
Rate this question:
A) tr_1 , tr_4, tr_2, tr_3
B) tr_1, tr_5, tr_4, tr_3
C) tr_1, tr_2, tr_4, tr_3
D) tr_1, tr_2, tr_5, tr_3
Rate this question:
A) by its name
B) by its parameters
C) by its performance
D) by its ACID property
Rate this question:
A) 0
b) 1
C) -1
D) 2
Rate this question:
A) The city for au_id = 1001 is changed to MUMBAI in authors table
B) The city for au_id = 1001 is set to NULL in authors table
C) The city for au_id = 1001 is not changed in the authors table
D) None of the listed options
Rate this question:
Directly use the UPDATE statement on the view to update columns from both the base tables
There is no solution to update the columns from both tables using the view
Create an INSTEAD of UPDATE Trigger on the view and update tables as part of trigger code
Create an AFTER Trigger on the view and update tables as part of trigger code
Rate this question:
A) Read uncommitted
B) Read Committed
C) Repeatable Read
D) Serializable
Rate this question:
A) Three author profiles are retrieved from authors
B) One author profile is retrieved from authors
C) No author profiles are retrieved from authors
D) Four author profiles are retrieved
E) Gives error message
Rate this question:
A) ReadUncommitted
B) Committed
C) SnapShot
D) Consistency
Rate this question:
A) Local variables
B) functions
C) constant values
D) expressions
Rate this question:
A) The index idx1 is completely removed
B) The index idx1 is temporarily disabled
C) The index idx1 is permanently disabled
D) The statements end with execution error
Rate this question:
A) Scalar function
B) In-line table valued function
C) Multi-statement table valued function
D) None of the listed options
Rate this question:
A) Severity 20 or higher errors that do not result in closing of a connection
B) Errors with severity 10 or less that are warnings and informational messages
C) Compile errors or object name resolution errors that happen during deferred name resolution
D) Severity 20 or higher errors that results in closing of a connection
Rate this question:
A) Drop the procedure using DROP and re-create a new one using CREATE command
B) Create a new procedure with the same name using CREATE command
C) Modify the procedure using ALTER command
D) Drop the procedure using DROP command and modify using ALTER
Rate this question:
A) Procedure sp_process_total_two executes before sp_process_total_one
B) Procedure sp_process_total_one executes before sp_process_total_two
C) Both procedures sp_process_total_one and sp-process_total_two get executed at same time
D) Procedure sp_process_two will not get executed at all
E) Procedure sp_process_one will not get executed at all
Rate this question:
FIRST
NONE
ANY
LAST
SECOND
Rate this question:
A) Select shows au_id = 1001 and au_name = 'Rajeev'
B) Select shows au_id = 1001 and au_name = 'Raghav'
C) Select shows au_id = 1001 and au_name as NULL
D) Select shows au_id = 1001 and au_name = 'Raman'
Rate this question:
It creates a valid in-line table valued function
Create fails because it is an invalid type of table valued function
Create fails because it is an invalid type of scalar function
None of the listed options
A) The new column new_col is created and dropped on table titles
B) The new column new_col is created on table titles but drop fails
C) Creation of new column new_col on table titles itself fails
D) None of the listed options
Rate this question:
Quiz Review Timeline (Updated): Sep 6, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.