Lat,Long to SDO_GEOMETRY
Hi everyone,
I need some help.
I have teh lat and long.How do I convert teh lat , long to SDO_GEOMETRY?
I have tried creating a column geom with SDO_GEOMETRY data type and then
update table-name set geom = SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(Longitude, Latitude , NULL), NULL, NULL):
but i can't create a spatial index on that geoloc.It gives me OCI errors and index is invalid..Should I rebuild it?
Any help would be much appreciated.
Message was edited by:
CrackerJack
Message was edited by:
CrackerJack