Paul Herring wrote: > On Feb 19, 2008 1:45 PM, Kiran Divakaran <[EMAIL PROTECTED]> wrote: >> Hi All, >> >> Have a design issue relating to handling files. >> >> There is process 1 which churns out a flat file . >> >> Now there is another process which needs to read this file and update the >> information contained into a database. >> >> So how should this be managed ideally .... >> >> This should be done so that there is a race condition that needs to be >> avoided between the write and the read processes. > > Use a pipe instead?
I like that option. However, I have to ask: Why not just dump the data directly into the database? If you _also_ need a flat file, you can duplicate the data to the flat file. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
