Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
MasterRoshi
Starting Member
2 Posts |
Posted - 2008-03-29 : 15:45:48
|
| Hi, I am new to SQL. I am trying to set a foreign key relationship within the same table, but when I drag the relationship to the same table I get the error, "The ALTER TABLE statement conflicted with the FOREIGN KEY SAME TABLE constraint." What would be the cause of this?Thanks. |
|
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2008-03-29 : 17:00:16
|
| How did you create ? Show us the structure. |
 |
|
|
MasterRoshi
Starting Member
2 Posts |
Posted - 2008-03-29 : 19:43:00
|
quote: Originally posted by sodeep How did you create ? Show us the structure.
Thanks for the reply. Meanwhile, I solved my own problem, yay. Apparently, I had already entered a row with a value for the foreign key that didn't match any others so when I tried to connect it afterwards, it wouldn't let me. |
 |
|
|
|
|
|