Jump to content

Data truncation

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Addbot (talk | contribs) at 23:34, 20 March 2013 (Bot: Migrating 1 interwiki links, now provided by Wikidata on d:q5227365). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In databases and computer networking data truncation occurs when data or a data stream (such as a file) is stored in a location too short to hold its entire length. Data truncation may occur automatically, such as when a long string is written to a smaller buffer, or deliberately, when only a portion of the data is wanted.

Depending on what type of data validation a program or operating system has, the data may be truncated silently (i.e., without informing the user), or the user may be given an error message.

See also