I use SQL Server 2008 and the data type Geometryto store a list of UK roads that I imported from the STRATEGI Order Examination .
Each road is divided into several lines, each of which contains one line (A Linestring, consisting of one segment). For example, the A369 consists of 18 separate lines, as shown in the figure below:

What I would like to do, it collects all the individual lines containing parts of the road, and create a new line that contains all the combined individual lines as a single line.
In other words, running the code SELECT * FROM Structure WHERE Name = 'A369'will only return one line, but still draws the road shown in the image above.
source
share