Scalar queries

1531
2
07-04-2012 04:20 AM
RaúlFernández_de_Córdoba
New Contributor
Hello, now i'm trying execute a scalar query:
var queryRows = gdb.ExecuteSQL("SELECT COUNT(SAMPLE)  FROM T_SAMPLES WHERE ID = 1");
And it returns a complete table T_SAMPLES.

My question, not it is possible make custom queries to tables of geodatabase?, or ExecuteSQL only works like filter of Tables??

Thank you.
0 Kudos
2 Replies
VinceAngelo
Esri Esteemed Contributor
A recent thread pretty much covered this -- ExecuteSQL is not complete.

- V
0 Kudos
LanceShipman
Esri Regular Contributor
The API is mostly based on 10.0. Scalar queries were not supported in the File Geodatabase until 10.1.
0 Kudos