You are here: SS 2005 Express- Allowing null values and Foriegn Key Constraints « MsSQL Server « IT news, forums, messages
SS 2005 Express- Allowing null values and Foriegn Key Constraints

Posted by Rico on 12/28/06 19:57

Hello,

I have a foreign key constraint between two tables (Appointments and
MissedAppointmentReasons) and I'd like to allow null values in Appointments
table for the field containing the MissedAppointmentReason, but currently, I
get a Foreign Key Constraint Error when I try to add a record to the
Appointments table.

Any ideas how I can have the null values but still maintain the Foreign Key
Constraint?

Thanks!
Rick

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация