You administer a Microsoft SQL Server 2012 database.
The database contains a table named Employee. Part of the Employee table is shown in the exhibit. (Click the Exhibit button.)
Unless stated above, no columns in the Employee table reference other tables. Confidential information about the employees is stored in a separate table named
EmployeeData. One record exists within EmployeeData for each record in the Employee table.
You need to assign the appropriate constraints and table properties to ensure data integrity and visibility.
On which column in the Employee table should you create a Foreign Key constraint that references a different table in the database?
A.
DateHired
B.
Departments
C.
EmployeeID
D.
EmployeeNum
E.
FirstName
F.
JobTitle
G.
LastName
H.
MiddleName
I.
ReportsToIDC
Explanation:
Use the EmployeeID, which would be used as a primary key in the Employee table, when defining a foreign key constraint from another table in the database.
The correct answer is C->EmployeeID.
Same as 70-461 (v.4) Question Nr. 118.
mark