I have a graph (Fig1)
which has four attributes in T-SQL:
Id int, StartNodeID int, EndNodeID int, EdgeGeometry Geometry
I want to extract the id
of those edges that have a connection or path to the specific node. For example, the result for the node = 7 should be as below:
EdgeId
------------------------------------------
6, 5, 4, 3, 2, 1, 7, 12, 13, 8, 9, 10, 11
Can anyone help me that how can I implement it in SQL Server?
Regards