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
VMWare ESX 4 Update Manager and failing Remediation for certain patches
How to connect treeview & listview or grid through Access database
350ft Coax Cable installation for modem
How to create and end a session for a user?
Secure Email for HIPAA compliance
XP Mode - usb software key not working
looking for best web designer.
MS Dynamics 4.0 Outlook Configuration - Microsoft Dynamics CRM server is not available
Cisco ASA 5505 not passing traffic (Possible NAT or ACL issue)
GroupWise 6.0.1 - Some addresses are undeliverable and have been crossed out