Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2004
    Posts
    10

    Unanswered: Representing a graph in TSQL

    Hi!

    I need to represent a graph in TSQL.
    The graph is directed. It is essentially a number of trees which all have various (non-root) nodes in common with each other.

    Any ideas or pointers would be most welcome :)

    Thanks,

    Angelos

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Without knowing what your instructor covered in class, we can't even give you a good guess at how to do this. All three of the classic methods for representing graphs are easy to support in SQL, and many of the more avante-guard representations are easy too.

    Talk with the instructor. It is still quite early in the session (at least most places). They should be willing to help you work this out.

    -PatP

Posting Permissions

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