Am I doing this the best way?
I have 2 types of records to keep track of, GL and Bank.
I have thousands of these added to the DB a day.
The records get matched to eachother in a many to many relationship. GL records can be matched to other bank or GL records and bank records can be matched to other bank or GL records.
I have the following tables...
GLMatched
BankMatched
Matched
GLUnmatched
BankUnmatched
When I first get a record it will go into the Unmatched table of its type.
At some point a user or process will find records from both sides and attempt to match them off. When this happens the records are moved to there matched table and a record is added to Matched.
Users will almost always be working with the unmatched tables but they may need to query the matched tables as well. Speed is important.
This is going to be built in MS SQL2000 from what I understand.
Any ideas suggestions or whatever would help.
Thanks,
Mike