Working with the geodatabase effectively using SQL - Esri
Working with the geodatabase effectively using SQL - Esri
Working with the geodatabase effectively using SQL - Esri
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Using ArcObjects<br />
• Nothing gp prevents <strong>the</strong> application pp developer p from<br />
consuming relational operators via ArcObjects<br />
//Oracle, // , st_ggeometry y<br />
pQueryDef = pFeatureWorkspace.CreateQueryDef();<br />
pQueryDef.Tables = “tb.parcels”, “tb.neighborhoods”;<br />
pQueryDef.SubFields = “parcels.objectid";<br />
pQueryDef.WhereClause Q D f Wh Cl =<br />
“sde.st_intersects(parcels.shape, neighborhoods.shape) = 1”;<br />
pCursor = pQueryDef.Evaluate();<br />
IRow pRow = pCursor.NextRow();<br />
iint t pCnt C t = 00;<br />
if (pRow != null)<br />
{<br />
pCnt = pCnt + 1;<br />
MMarshal.ReleaseComObject(pRow); h l R l C Obj t( R )<br />
}