Elevate Software Logo

Contacts | Partners | Links





Technical Support

Home > Technical Support > Frequently Asked Questions > View Frequently Asked Question




Is the DISTINCT clause in the COUNT function supported in DBISAM ?

DBISAM does not support using DISTINCT in COUNT aggregate queries. If you want the same functionality, however, you can get it with this SQL script:

SELECT DISTINCT MyColumn INTO "\Memory\Temp" FROM MyTable;
SELECT Count(MyColumn) FROM "\Memory\Temp";

Note
Be sure to drop the Temp in-memory table after you're done with the result set. You can't do it inside of the script, however, since that will remove the result set.





Related Pages

Option Newsgroups (Web)

Option Newsgroups (News Server)

Option Incident Reports

Option Roadmap

Option Technical Bulletins

Option Technical Articles

Option Product Manuals

Option Product Roadmaps






This web page was last updated on
Monday, October 27, 2008 at 03:27 PM

Valid HTML 4.01!  Valid CSS!


Privacy Policy

© 2008 Elevate Software, Inc. All Rights Reserved
Questions or comments ? E-mail us at info@elevatesoft.com