Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Bases";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

When writing a query in TQuery, all records are loaded. Find similar branches


Борис   (2001-12-06 15:50) [0]

I make a request in TQuery:

select tem from base.DB

At this, all 200000 records are immediately read. How to make sure that only a few hundred of the first are read, and the rest as they are loaded?



Igorok   (2001-12-06 15:54) [1]

try this:
select TOP 100 tem from base.DB
100 is the number of records



Mick   (2001-12-06 17:24) [2]

D5 and TQuery, so it's about BDE.
And who said that BDE reads ALL records at once?



Vadim   (2001-12-06 17:37) [3]

Correct the MAX ROWS parameter with -1 as much as you need in the BDE settings.



Pages: 1 whole branch

Forum: "Bases";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top









Memory: 0.55 MB
Time: 0.039 c
3-21907
RDA
2001-12-01 12:48
2002.01.08
Delphi and MySql


3-21918
SVS
2001-12-04 13:11
2002.01.08
filling in OleContainer from BlobField


14-22413
RUS
2001-11-11 21:27
2002.01.08
CD-RW


1-22068
Andrey21
2001-12-19 10:35
2002.01.08
Multilingual application


1-22162
BFG
2001-12-19 20:41
2002.01.08
REVIEWS





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Español swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish