× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 2/16/06, Raul A. Jager W. <raul@xxxxxxxxxx> wrote:
>
> I had understud that you needed to select 2000 random records from the
> whole file, if so, using a "where" will limit the sample.  If yor sample
> must be from the records in that range, the where is ok.
> Under some circunstances SQL will not allow to sort by a column that is
> not in the select, if not the case, you don't need to include the rand()
> in the select.


OK, thanks for clearing that up.  The SQL Reference is woefully short on
information for the rand() function.  Or maybe I haven't figured out how to
read it.

- Dan

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.