Larry C. answered 04/24/14
Experienced programmer, analyst, database designer and administrator
Elton T.
asked 10/22/13
Larry C. answered 04/24/14
Experienced programmer, analyst, database designer and administrator
Michael K. answered 12/09/13
Computer Programming - Software Engineering
Robert T. answered 01/06/20
Senior Software Engineer with 20+ years of experience
Sequential file are always used to store data, even a database will store its data to a sequential file in addition to storing the data in memory.
Therefore a database is used in addition to the sequential file when you need to add sophisticated read/write by multiple users or sophisticated querying(filters, joins, transformations).
James G. answered 11/05/19
Computer Science and Programming Tutor, Teacher, and Professional
I like the answers above but there is one more case where a sequential file is superior to a database and that is when you are interfacing a data file with another company or organization. It could be in XML, csv, or other text format. The first answer alludes to this but I thought it would be good to add this specific case.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.