Microsoft
70-457 · Question #76
You administer a database that includes a table named Customers that contains more than 750 rows. You create a new column named PartitionNumber of the int type in the table. You need to assign a…
The correct answer is B. CREATE SEQUENCE CustomerSequence AS int. See the full explanation below for the reasoning.
Question
You administer a database that includes a table named Customers that contains more than 750 rows. You create a new column named PartitionNumber of the int type in the table. You need to assign a PartitionNumber for each record in the Customers table. You also need to ensure that the PartitionNumber satisfies the following conditions:
- Always starts with 1.
- Starts again from 1 after it reaches 100.
Which Transact-SQL statement should you use?
Options
- ACREATE SEQUENCE CustomerSequence AS int
- BCREATE SEQUENCE CustomerSequence AS int
- CCREATE SEQUENCE CustomerSequence AS int
- DCREATE SEQUENCE CustomerSequence AS int
How the community answered
(29 responses)- A10% (3)
- B79% (23)
- C3% (1)
- D7% (2)
Community Discussion
No community discussion yet for this question.