Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fast Searching
Message
From
04/08/2003 13:06:31
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00816505
Message ID:
00816553
Views:
22
Hi Neil,

'Select user, database, type, date, time'+;
' from ("U:\Logs\310703\pdmlog.dbf") where temp.mainkey=pdmlog.mainkey

This is incomplete, temp.mainkey is fixed.

- RECCOUNT('pdmlog') = 3.000.000 ?

- mainkey is a PrimaryKey C(?)

1) How much is the Max possible value for RECCOUNT('temp') ?

2) U:\Logs\310703\pdmlog.dbf have a index on mainkey ?

3) U:\Logs\310703\pdmlog.dbf is hard ordered on mainkey ?

If you answer, i can found the best solution.

A first solution is:
SELECT Temp
INDEX ON mainkey TAG IX_Sel

put this query on grid RecordSource:
'Select user, database, type, date, time'+;
' from ("U:\Logs\310703\pdmlog.dbf") WHERE KEYMATCH(mainkey,1,'Temp') into cursor temp'
Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform