in reply to How do you search multiple flat file databases?

Hi Badd,

I think what you are referring to is a join between two flatfiles. DBD::CSV doesn't provide the mechanism to do this, so you would have to write one yourself. Essentially, get the result set from flatfile#1, store it in a hash, get the result set from flatfile#2, store it in a hash. Compare the two hashes to produce the data set you want.

This is where you have to weigh whether to stick with flatfiles or go with a more feature rich dbms. Which to choose depends on many criteria but if the flatfiles will wor for you, then you might as well stick with it else you will have to learn SQL - not altogether bad, but it is something more. ;-)

Jason L. Froebe

Team Sybase member

No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1

  • Comment on Re: How do you search multiple flat file databases?

Replies are listed 'Best First'.
Re^2: How do you search multiple flat file databases?
by Badd (Initiate) on Oct 26, 2004 at 22:16 UTC
    Thank You Very much for your speedy response. I appreciate your input. You and this website are great. Thanks again.