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
Plug n Play/USB/Registry Nigtmare - I Need to regularly delete keys in order to "detect" my MP3 Player!
VPN disconnects over 2 way satellite
PGP security
Windows Update site fails to load
Read Only user for Oracle VM Manager (OVM)
I cannot change the ownership and rights of a folder, access denied
Update RevTex in TexLive and Kile - Fedora 13
Cisco 1841: setting a bandwidth limit
Changing Default Web Site Properties
KeyListener in JTable