Microsoft
Software
Hardware
Network
Question : Foreign key on same table
Hello Experts,
I have a table in my DB containing web-pages. The Primary Key is PageID. In the same table I have PageParentPageID. I can't add a FK between Pageparent and PageID. I need to ensure that the PageParentPageID exists in the table.
Sugestions please.
Best Regards
Tomas
Answer : Foreign key on same table
> I can't add a FK between Pageparent and PageID
why not? what is the error you get?
note that before you add that constraint, all values of PageParent must exist indeed in PageID ...
Random Solutions
How to sync a shared calendar Exchange 2003 Outloook 2007 and Iphones
Dynamic naming of Java objects
Creating digital certificates for individual employee timesheet
Windows Update site fails to load
Somebody is sending emials form my hotmail account
How to commit changes of a Typed Dataset to database at once
What is the best navigation software for a Macbook Pro and an iPhone?
Dynamic Color
C# 2005 how to Change the Target .NET Framework Version of an Existing Project
How do i recover missing notes in office 2007 pro. Missing from archive folders as well.