Microsoft
70-457 · Question #60
You are a database developer of a Microsoft SQL Server 2012 database. The database contains a table named Customers that has the following definition: You need to ensure that the CustomerId column…
The correct answer is A. ALTER TABLE Orders. See the full explanation below for the reasoning.
Question
You are a database developer of a Microsoft SQL Server 2012 database. The database contains a table named Customers that has the following definition:
You need to ensure that the CustomerId column in the Orders table contains only values that exist in the CustomerId column of the Customer table. Which Transact-SQL statement should you use?
Exhibit
Options
- AALTER TABLE Orders
- BALTER TABLE Customer
- CALTER TABLE Orders
- DALTER TABLE Customer
- EALTER TABLE Orders
How the community answered
(60 responses)- A82% (49)
- B2% (1)
- C8% (5)
- D7% (4)
- E2% (1)
Community Discussion
No community discussion yet for this question.
