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
AJAX Refresh on Submit of Pop Up Window
I need to adapt VB script to run on SQL Server
Php SOAP-ERROR: Parsing WSDL
Using Redemption with Late Binding
weblogic portal 10.3.2
Summing amount using a aggregate function in a query
raid5 and win 2008 r2 server
Apple Mail Notes keep reappearing after deletion
PPTP VPN via Windows 2008 R2
Access 2007 Combo box synchronization