Spatial (MOSC)

MOSC Banner

SDO_RELATE issue

edited Feb 24, 2013 11:23PM in Spatial (MOSC) 4 commentsAnswered ✓
  While execution of the following code I am getting error.
create or replace 
Procedure UpdateSiteIDInGIS

IS
result number;


BEGIN

FOR develop_site
IN (SELECT asd.site_location
FROM sd_development_sites asd
)

Loop
SELECT ds_id_fk
into result
FROM sd_gis_ds_dom_coverage,sd_development_sites
WHERE sdo_relate(develop_site.site_location,ds_boundary,
'mask=inside') = 'TRUE';
dbms_output.put_line(result);

END LOOP;
END;


error--
ORA-13226: interface not supported without a spatial index
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR", line 8
ORA-06512: at "MDSYS.SDO_3GL", line 82
ORA-06512: at "DW_SPATIAL_DASH.UPDATESITEIDINGIS", line 15

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center