Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 1 to 3 of 3 total |
RecordCount vs. Query |
Sat, Nov 15 2008 5:37 AM | Permanent Link |
"Hershcu S" | Hello
What should be faster for getting the total record number? The RecordCount function or runing a Query (select count ...) Thanks Sorin |
Sat, Nov 15 2008 7:58 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Hershcu
It will depend on just what you have to do to get there eg is the table already linked to a component and open, does the query have to be created etc. Given an already open table my bet would go to RecordCount but unless you're doing it thousands of times in a loop I doubt you'd every detect the difference. Final point - why not just try it and see? Roy Lambert [Team Elevate] |
Sat, Nov 15 2008 4:13 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Hershcu,
<< What should be faster for getting the total record number? The RecordCount function or runing a Query (select count ...) >> Both are equivalent as long as your query takes the form of: SELECT COUNT(*) FROM MyTable [WHERE ... (optional)] -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |