O'Reilly logo

Platinum Edition Using XHTML™, XML, and Java™ 2 by Andrew H. Watt, Mike Morgan, Jim O'Donnell, Eric Ladd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating and Using Flat File Databases

Flat file databases are about the easiest databases you can create. To create a small ASCII text database, you need nothing more than a language with which to program and a text editor.

A flat file database consists mainly of lines of text, in which each line is its own entry. If you have more than one field for each record, the records are usually separated by a delimiter. No special technique is used to index the database. Therefore, flat file databases usually are relatively small (about 1,000–2,000 records). The larger the database, the longer it takes to perform queries to it.

In a flat file database, each record is contained on its own line. The number of fields in each record is completely up to you, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required