Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2010

    Recursive table with a compound primary key

    Dear all,
    I need to make a recursive table that have a compound primary key. What is the best solution for this - a compound foreign key or something else?

  2. #2
    Join Date
    Apr 2002
    Toronto, Canada
    depends entirely on how you define "best"

    but generally speaking, yes, a compound foreign key | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts