I need to create a linestring geometry from lat, long values returned by another query.
Values returned from this query
SELECT LATITUDE, LONGITUDE FROM POINTS
should go into the sdo_ordinate_array
sdo_geometry (2002, null, null, sdo_elem_info_array (1,2,1), sdo_ordinate_array ( 1,1,2,2,3,4 ))
No idea how to convert the resultset into an array.