You were right, King.Oracle didn&#39;t supported distinct.<div><br></div><div>I just released 0.8.15 version which supports distinct.</div><div><br></div><div>Haris<br><br><div class="gmail_quote">On Wed, Mar 10, 2010 at 9:14 PM, Benoit Begin <span dir="ltr">&lt;<a href="mailto:bbegin@geomapgis.ca">bbegin@geomapgis.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
I&#39;m experiencing some issues with the Distinct option using the<br>
SelectAggregate function. It does not seem to take into account the distinct<br>
property. In the data reader returned to me, I have all of the values,<br>
regardless of if they are different or not. The field I am evaluating is a<br>
standard varchar(3) field.<br>
<br>
Here is an exemple of what I&#39;m trying to do...<br>
<br>
MgFeatureAggregateOptions mgAggrOption = new MgFeatureAggregateOptions();<br>
mgAggrOption.SelectDistinct(true);<br>
mgAggrOption.AddFeatureProperty(&quot;MyColumn&quot;);<br>
MgDataReader mgDataReader = mgFeatureService.SelectAggregate(....)<br>
<br>
Is there some workaround to this issue or is it something I might be doing<br>
wrong? I can work around the problem by re-filtering the data manually and<br>
building my list of unique values on my own. It works for my sample data of<br>
22,000 records, though it might prove inefficient for larger datasets.<br>
<br>
Thanks.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/King-Oracle-0-8-14-and-SelectDistinct-true-in-Mapguide-2-1-tp4711979p4711979.html" target="_blank">http://n2.nabble.com/King-Oracle-0-8-14-and-SelectDistinct-true-in-Mapguide-2-1-tp4711979p4711979.html</a><br>

Sent from the FDO Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
fdo-users mailing list<br>
<a href="mailto:fdo-users@lists.osgeo.org">fdo-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/fdo-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/fdo-users</a><br>
</font></blockquote></div><br></div>