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
PDFs and iPads
Exchange Active Sync and self assigned certificates
SBS2008 Folder redirections feature stability ?
The SELECT permission was denied on the object 'sysdtspackages90', database 'msdb', schema 'dbo'.
Running reports and Log size
How can I detect a pixel color of an image in Flash using ActionScript 2?
Removing Duplicate from a Crystal Report
drivers for my WD Passport Essential SE USB drive for SBS 2008
windows server 2008 foundation
Riverbed with Cisco GRE Tunnel