Re: Comparing data - big file

From: Date: Mon, 01 Jun 2009 18:50:00 +0000
Subject: Re: Comparing data - big file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-293439@lists.php.net to get a copy of this message
דניאל דנון wrote: > As continuation to my last question, I got another one. > > a brief summary: > I had to process a file that contains 700,000 lines, > each line contained some data (lets assume each line was like: > name|age|work|lastaccessed) > age contains the person's age in time() format, how many seconds has > past since he was born. > lastaccessed contains also a time(), with his last access. > work is some text, also is name. ) > > so I inserted it (with stacked queries), > My question is - lets assume I get a new file, and I need to compare > the changes - how would you suggest me to do it? diff. > I also don't have the old file. Recreate it? /Per -- Per Jessen, Zürich (18.8°C)

« previous php.general (#293439) next »