Geometry values stored in a table can be fetched in internal format. You can also convert them to WKT or WKB format.
Fetching spatial data in internal format:
Fetching geometry values using internal format can be useful in table-to-table transfers:
CREATE TABLE geom2 (g GEOMETRY) SELECT g FROM geom;
Fetching spatial data in WKT format:
converts a geometry from internal format to a WKT string.
SELECT AsText(g) FROM geom;
Fetching spatial data in WKB format:
SELECT AsBinary(g) FROM geom;
Copyright © 1997, 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices