Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

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 Comments1 Solution235 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
Avatar of prajapati84
prajapati84Flag of India image

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

Commented:
This problem has been solved!
Unlock 1 Answer and 7 Comments.
See Answers