hamid_hr
یک شنبه 18 تیر 1391, 17:36 عصر
سلام ........
من برا درج تو جدولم از این کد استفاده کردم
insert into Bilding_Name( ID_Street , Name) values (103 , N'ایپک')
ولی این خطا رو میده
Msg 547, Level 16, State 0, Line 1
The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Bilding_Name_Allay". The conflict occurred in database "Kanoon", table "dbo.Allay", column 'ID_Allay'.
The statement has been terminated.
اصلا هیچ نوع ارتباطی بین جداولم ایجاد نکردم.
مشکل من کجاست؟ :عصبانی++:
من برا درج تو جدولم از این کد استفاده کردم
insert into Bilding_Name( ID_Street , Name) values (103 , N'ایپک')
ولی این خطا رو میده
Msg 547, Level 16, State 0, Line 1
The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Bilding_Name_Allay". The conflict occurred in database "Kanoon", table "dbo.Allay", column 'ID_Allay'.
The statement has been terminated.
اصلا هیچ نوع ارتباطی بین جداولم ایجاد نکردم.
مشکل من کجاست؟ :عصبانی++: