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
Why does the Listindex property of a Combobox reset to 0 in VBA?
From inside network, connect to inside host using public outside IP
Visual Studio 2010 removal of Bite Order Mark VB -or PHP solution?
Easily change outgoing address. Outlook 2010 (or 2007 or 2003)
Outlook/Exchange Issue with Emails not showing
Can't access variable in code behind page
task manager high CPU usage widows server 2003
How can I check for an install new updates for Symantec Backup Exec? I have clicked on the Help drop down menu, but don't see any options for updates
Move users home folders to new storage partition
csico catalyst3500