PDA

View Full Version : درج کلید خارجی در جدول



mahtab kf
پنج شنبه 10 بهمن 1392, 12:00 عصر
سلام
من تو جدولم 2تا کلید خارجی دارم یکی رو تونستم تعریف کنم اما برای دومی این خطا رو میگیره :


'TBconfig' table saved successfully
'TBaddItem' table
- Unable to create relationship 'FK_TBaddItem_TBconfig'.
The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "FK_TBaddItem_TBconfig". The conflict occurred in database "MyWeblog", table "dbo.TBconfig", column 'IDconfig'.

کسی میدونه مشکل چیه؟

starting
پنج شنبه 10 بهمن 1392, 12:03 عصر
زمان ایجاد کلید خارجی گزینه Check Existing Data On Creation را روی No تنظیم کن