nerdexam
Microsoft

70-459 · Question #39

You have a database named DB1. You plan to create a stored procedure that will insert rows into three different tables. Each insert must use the same identifying value for each table, but the value…

Sign in or unlock 70-459 to reveal the answer and full explanation for question #39. The question stem and answer options stay visible for context.

Implement programming objects

Question

You have a database named DB1. You plan to create a stored procedure that will insert rows into three different tables. Each insert must use the same identifying value for each table, but the value must increase from one invocation of the stored procedure to the next. Occasionally, the identifying value must be reset to its initial value. You need to design a mechanism to hold the identifying values for the stored procedure to use. What should you do? More than one answer choice may achieve the goal. Select the BEST answer.

Options

  • ADatum has limited storage. Whenever possible, all storagespace should be minimized for all
  • BCreate a fourth table that holds the next value in the sequence.
  • CCreate a sequence object that holds the next value in the sequence.
  • DCreate an identity column in each of the three tables.

Unlock 70-459 to see the answer

You've previewed enough free 70-459 questions. Unlock 70-459 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.

Topics

#SEQUENCE object#identity#stored procedure#sequential values
Full 70-459 Practice