I'm trying to get the latitude and longitude of a geometry type point from an Oracle database. I've successfully set up the Oracle client to use sqlplus, get connected to the database through command line.
Using ArcCatalog, the data type of my column (stop_pos) is GEOMETRY (Geometry Type: Point). However, when I do a 'DESCRIBE' through sqlplus, the type of the stop_pos column is NUMBER(38), which according to my understanding is the stop_pos.fid since I did a "SELECT stop_pos from MY_TABLE;", it gave me a list of id, equivalent to the stop_pos.fid in ArcCatalog.
According to my understanding, there should be another table other than MY_TABLE in charge of handling spatial data. I've looked at "ST_GEOMETRY" and "SDO_GEOMETRY." Some posts even mentioned about USER_SDO_GEOM_METADATA but I'm unable to find any table or column with those names. I'm new to these stuff and wonder if anyone can give me a SELECT statement example query which I can get the lat and lon of the point (in my example, it was stop_pos).