When you attempt to add an ST_GEOMETRY or SDO_GEOMETRY column to a populated table, the following error occurs:
'ORA-01758: table must be empty to add mandatory (NOT NULL) column.'
Examples include loading a raster with the sderaster command as SDO_GEOMETRY or ST_GEOMETRY and attempting to register it with the geodatabase. This causes the data to become unusable. Also, raster catalogs created outside of ArcObjects cannot be registered with the geodatabase.
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM006509
Submitted
February 1, 2007
Last Modified
April 2, 2025
Applies to
No Product Found
Version found
9.2
Version Fixed
9.3
Status
Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
Workaround
Register the table with a row id column using sdetable -o alter_reg before adding the ST_GEOMETRY or SDO_GEOMETRY spatial column.