PC Review


Reply
 
 
Dan
Guest
Posts: n/a
 
      10th Sep 2006
Hi,
I'm using log file as source file for my access querie. Log file contains a
lot of information and it is bigger than 10 MB (queie needs 5+ sec for final
result).

How can setup querie that it search just first 1000 lines of log file?
(there is more than 40.000 lines).

Thnx!


 
Reply With Quote
 
 
 
 
Albert D. Kallal
Guest
Posts: n/a
 
      10th Sep 2006
5 seconds sounds VERY much to long of time for such a small file.

Does the have a index on it?

If the file has autonumber id, then to get the last 1000 records, try:

select top 1000 * from tblMainClient order by id desc


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
(E-Mail Removed)


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cond. Format Data Bars of range based on values of another range alexmo Microsoft Excel Worksheet Functions 4 16th Jan 2009 04:03 AM
highlight range, apply calculation to data in cells and paste special to same range S Himmelrich Microsoft Excel Discussion 2 6th Nov 2007 11:48 PM
When entering data into a range of cells, select the entire range. =?Utf-8?B?UQ==?= Microsoft Excel Misc 0 26th Sep 2007 04:36 AM
Setting Source Data to a Named Range rather than cell Range Justin Smith Microsoft Excel Charting 2 5th Dec 2003 05:56 PM
Re: Still having syntax problems; graphing a named range that includes indirects to a non-contiguous range of data dvt Microsoft Excel Misc 0 29th Jul 2003 09:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:18 AM.