SQL Server Error Msg 1776. There are no primary or candidate keys in the referenced table that match the referencing column list in the foreign key.

SQL Server Error Msg 1776. There are no primary or candidate keys in the referenced table that match the referencing column list in the foreign key.

This error occurs when DBA tries to create an FK reference while the column on the parent table is neither PK nor UNIQUE.

For complete and quick analysis with example, Go through Link – http://mssqlcorruptiontackle.blogspot.com/2010/12/sql-server-2008-r2-foreign-key-delete.html

INTERVIEW PREPARATION IN 30 MINs – Read Following wires for a quick interview preparation.

  1. SQL Server DBA “Interview Questions And Answers”
  2. SQL Azure Interview Questions and Answers Part – 1
  3. SQL Azure Interview Questions and Answers Part – 2
  4. Powershell Interview Questions and Answers

Regards,
Online SQL Classes @ http://tuitionaffordable.webstarts.com
Submit Express Inc.Search Engine Marketing

Advertisements

3 comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s