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
SharePoint list image link
Sonicwall TZ210
Trouble getting Reader Field to update to new Role
Formula to calculate all position for given matrix
Adding a second Cisco Voice Gateway Router to Cisco Unifiied Communications Manager 7.0.1
WDS deployment of Windows 7
powershell
How To Configure VLAN on Intel Pro 1000 MT
128GB USB Flash drives
Logging computer off network