10.12.2012 Views

Oracle Spatial User's Guide and Reference - InfoLab

Oracle Spatial User's Guide and Reference - InfoLab

Oracle Spatial User's Guide and Reference - InfoLab

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SDO_UTIL.APPEND<br />

Examples<br />

Related Topics<br />

The following example appends the cola_a <strong>and</strong> cola_c geometries. (The example<br />

uses the definitions <strong>and</strong> data from Section 2.1.)<br />

SELECT SDO_UTIL.APPEND(c_a.shape, c_c.shape)<br />

FROM cola_markets c_a, cola_markets c_c<br />

WHERE c_a.name = 'cola_a' AND c_c.name = 'cola_c';<br />

SDO_UTIL.APPEND(C_A.SHAPE,C_C.SHAPE)(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SD<br />

--------------------------------------------------------------------------------<br />

SDO_GEOMETRY(2007, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 3, 5, 1003, 1), SDO_<br />

ORDINATE_ARRAY(1, 1, 5, 7, 3, 3, 6, 3, 6, 5, 4, 5, 3, 3))<br />

■ SDO_GEOM.SDO_UNION (in Chapter 13)<br />

19-4 <strong>Oracle</strong> <strong>Spatial</strong> User’s <strong>Guide</strong> <strong>and</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!