24.10.2012 Views

Working with the geodatabase effectively using SQL - Esri

Working with the geodatabase effectively using SQL - Esri

Working with the geodatabase effectively using SQL - Esri

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

st_distance<br />

• Efficient approach… pp<br />

SELECT name, volume, st_distance(shape,<br />

st st_point(125,350,3)) point(125 350 3)) AS DISTANCE<br />

FROM wells<br />

WHERE st_intersects(shape,<br />

st st_buffer(st_point(125,350,3),5)) buffer(st point(125 350 3) 5)) = 1<br />

ORDER BY distance

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!