answersLogoWhite

0

In database management, a flat file is one that holds all the information in a single table.

By contrast, a relational database has two or more tables having a defined relationship to each other.

A flat file is not related to any other table.

Examples

Flat file

You could keep details of a DVD collection in a flat file. Some of the fields might be:

title

date purchased

length

year issued

Relational database

A retail business might have a database with three tables:

products [one record for each type of item for sale]

customers

products&customers [each sale constitutes a record in this table. The table is related (linked) to each of the other two tables]

Tables and files

"Table" is a database term, "file" a computer term. Some database management programs make each table into a separate file. Others store all the tables in a single file.

User Avatar

Wiki User

16y ago

Still curious? Ask our experts.

Chat with our AI personalities

CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
BeauBeau
You're doing better than you think!
Chat with Beau

Add your answer:

Earn +20 pts
Q: What are flat files?
Write your answer...
Submit
Still have questions?
magnify glass
imp