MS SQL Server – 42 – View (Create Alter Remove) MCQ

42 – View (Create Alter Remove) MCQ

Best of luck!

1 / 25

1. What is a view in SQL Server?

2 / 25

2. In SQL Server, what is the primary purpose of creating a view?

3 / 25

3. Which SQL statement is used to create a view in SQL Server?

4 / 25

4. In SQL Server, can you modify the data stored in a view?

5 / 25

5. Which of the following statements about indexed views in SQL Server is true?

6 / 25

6. In SQL Server, which SQL statement is used to alter the definition of an existing view?

7 / 25

7. What is the purpose of the WITH CHECK OPTION clause when creating or altering a view?

8 / 25

8. In SQL Server, what happens when you use the DROP VIEW statement?

9 / 25

9. In SQL Server, which SQL statement is used to remove an existing view from the database?

10 / 25

10. What is the primary advantage of using views in SQL Server?

11 / 25

11. In SQL Server, can you create an index directly on a view?

12 / 25

12. What is the purpose of the SCHEMABINDING clause when creating a view in SQL Server?

13 / 25

13. In SQL Server, what is the primary purpose of the NOCHECK clause when altering a view?

14 / 25

14. In SQL Server, what is the purpose of the ENCRYPTION clause when creating a view?

15 / 25

15. In SQL Server, can you create a view that combines data from multiple tables?

16 / 25

16. In SQL Server, what is the primary purpose of the NOEXPAND hint when querying an indexed view?

17 / 25

17. Which of the following statements about views in SQL Server is true?

18 / 25

18. In SQL Server, what is the primary purpose of using the SCHEMABINDING option when creating a view?

19 / 25

19. Which of the following is an example of a valid view definition in SQL Server?

20 / 25

20. What is the primary purpose of using the ENCRYPTION option when creating a view in SQL Server?

21 / 25

21. In SQL Server, can you create an index on a view that uses the TOP clause in its definition?

22 / 25

22. What is the primary advantage of using the WITH CHECK OPTION clause when creating a view in SQL Server?

23 / 25

23. In SQL Server, which SQL statement is used to modify the definition of an existing view?

24 / 25

24. In SQL Server, what is the primary purpose of using the CHECK OPTION clause when creating a view?

25 / 25

25. In SQL Server, can you create a view that contains calculations or expressions?

Your score is

0%