7.2 SDO_GEOR.addSourceInfo
Format
SDO_GEOR.addSourceInfo( georaster IN OUT SDO_GEORASTER, sourceInfo IN VARCHAR2);
Description
Adds to the source information for a GeoRaster object.
Parameters
Usage Notes
The specified sourceInfo
string is added to the <sourceInfo>
element in the metadata for the GeoRaster object (described in GeoRaster Metadata XML Schema). You can call this procedure as many times as needed to put multiple string values in the <sourceInfo>
element or to add string values to any existing values.
If you want to replace any existing source information value or values, use the SDO_GEOR.setSourceInfo procedure.
Examples
The following example sets and adds some source information for a specified GeoRaster object, and then retrieves the information.
declare gr sdo_georaster; begin select georaster into gr from georaster_table where georid=1 for update; sdo_geor.setSourceInfo(gr, 'Copyright (c) 2002, 2007, Oracle Corporation.'); sdo_geor.addSourceInfo(gr, 'All rights reserved.'); update georaster_table set georaster=gr where georid=1; end; / select * from table(select sdo_geor.getSourceInfo(georaster) from georaster_table where id=1); COLUMN_VALUE -------------------------------------------------------------------------------- Copyright (c) 2002, 2007, Oracle Corporation. All rights reserved.
Parent topic: SDO_GEOR Package Reference