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
Crystal Reports Xi - Sorting a CrossTab Report by a Summary Field
Apache - Tomcat TCP Connection problem - CLOSE_WAIT / FIN_WAIT_2
Google Chart corechart help
Cisco 2950 Vlan for Voice
How to restrict incoming RDP on a Windows XP PC from a particular WAN IP ?
Symantec Endpoint Protection - SID 23615 HTTPS Tidserv Request 2 Detected
Server 2008 NLB problem
net share system error 5 acces denied
What are major differences between VB.NET and C#.NET?
What do you think about these specs for a new System Center Operations/Configurations Manager 2007 R2 server?