ST_MultiCurve If the geometry-expression is of type ST_MultiCurve, returns the geometry-expression. If the geometry-expression is a geometry collection containing only curves, returns a multicurve object containing the elements of the geometry-expression. If the geometry-expression is of type ST_Curve then return a multicurve value containing one element, the geometry-expression. If the geometry-expression is the empty set, returns an empty set of type ST_MultiCurve. Otherwise, raises an exception condition.
Examples
Example 1 –
The following example returns the result MultiCurve ((0 7, 0 4, 4 4)).
SELECT Shape.ST_ToMultiCurve()
FROM SpatialShapes WHERE ShapeID = 5