Walter Meester
HoogkarspelNetherlands
General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Hi Ben,
>Hi Walter,
>
>Your (and Thomas') suggestion is much faster than a "Select Distinct ..." but still takes some time for a large master table. To get almost instant response, "Index On...Unique" is the only way to go.
Which I was suggesting in my origninal email
>>If you are not deleteing from this table, you can also use a unique index and set the order to that and scan trough it.
>>If the periods are months for exaple and there are not to many distincs periods posible, you could also enumerate through the posible periods and use a KEYMATCH() or SEEK() to see whether that period has been recorded.
Walter,
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only