G
Guest
I have one large Table (200,000 records). Each month I get another 25000
records. Some fields contain many duplications, eg The date field contains
the same date for all recods in one month. For use in various queries, I need
to maintain a Table that contains only a short list of these dates as a kind
of index.
I need this list to be updated whenever a new date appears in the main
table, so it is automaticaly uptodate. I need this index table for speed, I
have tried Indexing the main table, but to query it for a grouped list of the
dates is too slow. I thought I could use relationshipe with relational
integrity to update the small unique index table, but this only wants to work
the wrong way (insists on the Primary table being the index table and
updating or deleting records in the Main table.
How should do this?
records. Some fields contain many duplications, eg The date field contains
the same date for all recods in one month. For use in various queries, I need
to maintain a Table that contains only a short list of these dates as a kind
of index.
I need this list to be updated whenever a new date appears in the main
table, so it is automaticaly uptodate. I need this index table for speed, I
have tried Indexing the main table, but to query it for a grouped list of the
dates is too slow. I thought I could use relationshipe with relational
integrity to update the small unique index table, but this only wants to work
the wrong way (insists on the Primary table being the index table and
updating or deleting records in the Main table.
How should do this?