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…
Sign in or unlock 70-457 to reveal the answer and full explanation for question #76. The question stem and answer options stay visible for context.
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
Unlock 70-457 to see the answer
You've previewed enough free 70-457 questions. Unlock 70-457 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.