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
Delete blank line from textarea
Current Logged In User
How Unlock Ipod Touch If You Forget Your Passcode
Shell script to queue commands
KDC errors in middle of the night - had to reboot to get server back up
From TQuery to TADOQuery.
sendAndLoad onHTTPStatus issue
Incomplete result for DNS queries
Meta redirect question
This search script is presenting the option for Next 10 when there aren't any results. What do I need to add to not show when there aren't results?