MS SQL Server – 22 – IDENTITY and SEQUENCE MCQ

22 – IDENTITY and SEQUENCE MCQ

Best of luck!

1 / 10

1. What is the purpose of the IDENTITY property in SQL Server?

2 / 10

2. Which data types can be used with the IDENTITY property in SQL Server?

3 / 10

3. What is the default seed value for an IDENTITY column in SQL Server?

4 / 10

4. When inserting data into a table with an IDENTITY column, what should you omit in the INSERT statement?

5 / 10

5. In SQL Server, can you update the value of an IDENTITY column after the initial insert?

6 / 10

6. What is the primary purpose of the CREATE SEQUENCE statement in SQL Server?

7 / 10

7. Which SQL Server version introduced the CREATE SEQUENCE statement?

8 / 10

8. Which of the following statements is used to increment a sequence’s value by a specified amount?

9 / 10

9. In a sequence created with the CREATE SEQUENCE statement, what does the CYCLE option do?

10 / 10

10. What is the maximum and default value for the CACHE option in the CREATE SEQUENCE statement?

Your score is

0%