ST_Raster.deleteStats

Definition

The ST_Raster.deleteStats function removes image statistics from an ST_Raster object.

Syntax

Oracle

deleteStats ()

PostgreSQL

deleteStats (raster IN ST_RASTER)

SQL Server

deleteStats ()

Returns

ST_Raster

Parameters

raster—The ST_Raster object for which image statistics will be deleted

Examples

The following example shows how to delete image statistics from an ST_Raster object:

Oracle

UPDATE NORTH
SET image = t.image.deleteStats()
WHERE t.image.raster_id = 1;

PostgreSQL

UPDATE north
SET image = deleteStats(image)
WHERE raster_id(image) = 1;

SQL Server

UPDATE north
SET image = image.deleteStats()
WHERE image.raster_id = 1;

3/6/2012