MS SQL Server – 33 – Set Commands MCQ

33 – Set Commands MCQ

Best of luck!

1 / 25

1. In SQL Server, what is the primary purpose of the SET NOCOUNT ON statement?

2 / 25

2. Which SQL statement is used to enable the counting of rows affected by SQL statements?

3 / 25

3. What is the primary purpose of the SET ROWCOUNT statement in SQL Server?

4 / 25

4. In SQL Server, what is the purpose of the SET TRANSACTION ISOLATION LEVEL statement?

5 / 25

5. Which isolation level in SQL Server allows for the highest degree of data consistency but can lead to the most locking and blocking?

6 / 25

6. What is the primary purpose of the SET IDENTITY_INSERT statement in SQL Server?

7 / 25

7. In SQL Server, which statement is used to specify the identity seed and increment values for an identity column?

8 / 25

8. In SQL Server, what is the purpose of the SET ANSI_NULLS statement?

9 / 25

9. What is the default behavior for ANSI_NULLS in SQL Server?

10 / 25

10. In SQL Server, what is the purpose of the SET DATEFIRST statement?

11 / 25

11. Which SQL statement is used to change the default language for a session in SQL Server?

12 / 25

12. In SQL Server, what is the primary purpose of the SET CONTEXT_INFO statement?

13 / 25

13. What is the primary purpose of the SET CONCAT_NULL_YIELDS_NULL statement in SQL Server?

14 / 25

14. In SQL Server, what is the purpose of the SET LANGUAGE statement?

15 / 25

15. What is the primary use of the SET QUOTED_IDENTIFIER statement in SQL Server?

16 / 25

16. In SQL Server, what is the primary purpose of the SET TEXTSIZE statement?

17 / 25

17. What is the primary purpose of the SET ROWLOCK statement in SQL Server?

18 / 25

18. In SQL Server, what is the primary purpose of the SET DEADLOCK_PRIORITY statement?

19 / 25

19. Which SQL statement is used to set the deadlock priority for a session in SQL Server?

20 / 25

20. In SQL Server, what is the primary purpose of the SET REMOTE_PROC_TRANSACTIONS statement?

21 / 25

21. What is the primary purpose of the SET ROWS statement in SQL Server?

22 / 25

22. In SQL Server, what is the primary use of the SET TEXTSIZE statement?

23 / 25

23. What is the primary purpose of the SET SHOWPLAN_ALL statement in SQL Server?

24 / 25

24. In SQL Server, what is the purpose of the SET DATEFORMAT statement?

25 / 25

25. What is the primary purpose of the SET ANSI_WARNINGS statement in SQL Server?

Your score is

0%