Re: Limit data amount in response to SELECT query
- From: "Stephen Howe" <stephenPOINThoweATtns-globalPOINTcom>
- Date: Thu, 30 Mar 2006 14:22:23 +0100
I'm using ADO with ExOLEDB to populate a recordset with e-mails.
Unfortunately, when the user has a lot of e-mails stored on the server
it takes a veeery long time to get them all.
If you are using a RecordSet you can change MaxRecords from 0 to some other
value.
And as you say, some dialects of SQL support TOP clause
The other normal way that works with all versions of SQL is to see if you
can restrict the number of rows coming back by the WHERE clause. Think about
the fields you can operate on with that for Exchange Server. You may be able
cut down rows considerably to something relevant and manageable.
I work with very large volumes of data, TV related, and we have data going
back many years.
We frequently fetch data for some specified day. It is manageable then.
Stephen Howe
.
- Follow-Ups:
- Re: Limit data amount in response to SELECT query
- From: greken80
- Re: Limit data amount in response to SELECT query
- References:
- Limit data amount in response to SELECT query
- From: greken80
- Limit data amount in response to SELECT query
- Prev by Date: Limit data amount in response to SELECT query
- Next by Date: Re: Limit data amount in response to SELECT query
- Previous by thread: Limit data amount in response to SELECT query
- Next by thread: Re: Limit data amount in response to SELECT query
- Index(es):
Relevant Pages
|
|