Was this helpful?
Endpoint
ENDPOINT(l Linestring)
Alias: ST_ENDPOINT
Returns the last point in l.
Result type: point
Example:
SELECT ASTEXT(ENDPOINT(LINEFROMTEXT('LINESTRING(0 0, 10 0, 10 10, 0 10)')));
--------------------------------
col1
--------------------------------
POINT (0 10)
--------------------------------
Last modified date: 01/30/2023