A table that has a relation to itself

  • The foreign key constraint can do it for you. Look up "FOREIGN KEY" and "ON DELETE CASCADE" in BOL.

    -- Gianluca Sartori

  • Agreed. Research "self-referencing tables"

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

Viewing 2 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply