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
SBS2008 GoDaddy as SmartHost for email.
Cisco SSL VPN vulnerabilities -how to secure
jQuery ajax update multiple fields
cross domain javascript
offline files for Mac?
Batch file to modify a text files
IDE / Sata Connections
Saving attachments from Lotus iNotes 8.5.1 on Windows 7
Service manual for Brother intellifax 4100e.
802.1q trunk