troubleshooting Question

I am trying to add a foriegn key to the table and I keep getting this error which is in the image

Avatar of 1030071002
1030071002Flag for United States of America asked on
Microsoft SQL Server 2005
7 Comments4 Solutions235 ViewsLast Modified:
sql set up sql error
I am trying to add a foreign key to the table and I am keep getting this error which is in the image
the primary and foreign key have the same data type which is small int.

in the primary key table the column is an increment and in the foreign key table the column is a normal column.
ASKER CERTIFIED SOLUTION
prajapati84

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 4 Answers and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 4 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros