SDO_GEOMETRY是空間數據中最基本的類型,此類型用於存儲幾何形狀。定義如下:
CREATE TYPE SDO_GEOMETRY AS OBJECT
(
SDO_GTYPE NUMBER,
SDO_SRID NUMBER,
SDO_POINT SDO_POINT_TYPE,
SDO_ELEM_INFO SDO_ELEM_INFO_ARRAY,
SDO_ORDINATES SDO_ORDINATE_ARRAY
MEMBER FUNCTION GET_GTYPE RETURN NUMBER DETERMINISTIC,