what cases i can use on it sql graph ?

ahmed salah 3,216 Reputation points
2022-09-21T13:31:40.853+00:00

I work on sql server 2019 . i don't know what sql graph

and what cases i can use sql graph on it

please tell me what cases i can use it sql graph

and are this good for best performance and faster query

Developer technologies Transact-SQL
SQL Server Other
{count} votes

5 answers

Sort by: Most helpful
  1. Olaf Helper 47,436 Reputation points
    2022-09-21T13:56:57.387+00:00

    i don't know what sql graph

    Then start reading about it at https://learn.microsoft.com/en-us/sql/relational-databases/graphs/sql-graph-architecture?view=sql-server-ver16

    and are this good for best performance and faster query

    Faster compared to what?

    0 comments No comments

  2. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2022-09-21T21:16:36.85+00:00

    SQL Graph is good, as I understand it, when you want to answer questions like "People who bought this book, also bough this and that". I think it is also good for social-media analysis.

    I have played a little with the feature on my own, but I have encountered a problem where SQL Graph would fit. It's quite a niche feature, I'd say.


  3. NikoXu-msft 1,916 Reputation points
    2022-09-22T03:11:09.563+00:00

    Hi @ahmed salah ,

    SQL Server’s graph databases can help simplify the process of modeling data that contains complex many-to-many and hierarchical relationships. At its most basic, a graph database is a collection of nodes and edges that work together to define various types of relationships.
    More details, please see:
    https://www.red-gate.com/simple-talk/databases/sql-server/t-sql-programming-sql-server/sql-server-graph-databases-part-1-introduction/

    Best regards
    Niko

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

  4. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2022-10-06T21:28:52.067+00:00

    i try to read more on internet
    but can't found more articles explain sql graph

    You can start here: https://learn.microsoft.com/en-us/sql/relational-databases/graphs/sql-graph-overview.

    0 comments No comments

  5. NikoXu-msft 1,916 Reputation points
    2022-10-07T01:30:33.9+00:00

    Hi @ahmed salah ,

    i try to read more on internet
    but can't found more articles explain sql graph

    You can also see this article:
    https://iterationinsights.com/article/sql-server-graph-tables-in-power-bi/

    Best regards
    Niko

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.