|
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Ryan
Sent: Wednesday, November 14, 2007 8:30 AM
To: Midrange Systems Technical Discussion
Subject: Re: SQL Date Math
That was interesting. Here are the results.
All run in interactive SQL, approximately 56M records. Index built
over the numeric field (which took a freaking long time btw - like 10
minutes).
Using CvtDateToNumISO function with no index - 45 seconds
Using function code with no index - 38 seconds
Using CvtDateToNumISO function with index - 11 seconds
Using function code with index - 2 seconds
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.