7.35 SDO_GEOR.getBeginDateTime
Format
SDO_GEOR.getBeginDateTime( georaster IN SDO_GEORASTER ) RETURN TIMESTAMP WITH TIME ZONE;
Description
Returns the beginning date and time for raster data collection in the metadata for a GeoRaster object.
Usage Notes
To set the beginning date and time for raster data collection in the metadata for a GeoRaster object, use the SDO_GEOR.setBeginDateTime procedure.
If georaster
or its metadata is null, this function returns a null value.
Examples
The following example returns the beginning and ending dates and times for raster data collection in the metadata for the GeoRaster object in a table named GEORASTER_TABLE where the GEORID column contains the value 4. (The GEORASTER_TABLE table definition is presented after Example 1-1 in Storage Parameters.)
SELECT sdo_geor.getBeginDateTime(georaster) beginDateTime, sdo_geor.getEndDateTime(georaster) endDateTime FROM georaster_table WHERE georid=4; BEGINDATETIME --------------------------------------------------------------------------- ENDDATETIME --------------------------------------------------------------------------- 01-JAN-00 05.00.00.000000000 AM +00:00 15-NOV-02 08.00.00.000000000 PM +00:00
Parent topic: SDO_GEOR Package Reference