nerdexam
Microsoft

70-457 · Question #196

You are a database developer of a Microsoft SQL Server 2012 database. You are designing a table that will store Customer data from different sources. The table will include a column that contains…

The correct answer is D. CREATE TABLE Customer. See the full explanation below for the reasoning.

Question

You are a database developer of a Microsoft SQL Server 2012 database. You are designing a table that will store Customer data from different sources. The table will include a column that contains the CustomerID from the source system and a column that contains the SourceID. A sample of this data is as shown in the following table. You need to ensure that the table has no duplicate CustomerID within a SourceID . You also need to ensure that the data in the table is in the order of SourceID and then CustomerID. Which Transact- SQL stat.ement should you use?

Options

  • ACREATE TABLE Customer
  • BCREATE TABLE Customer
  • CCREATE TABLE Customer
  • DCREATE TABLE Customer

How the community answered

(31 responses)
  • A
    6% (2)
  • B
    10% (3)
  • C
    3% (1)
  • D
    81% (25)

Community Discussion

No community discussion yet for this question.

Full 70-457 Practice