Data truncation
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. For example, sometimes instead of rounding off a numerical value obtained from a calculation, some of the digits might just be removed i.e. truncated
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. For example, sometimes instead of rounding off a numerical value obtained from a calculation, some of the digits might just be removed i.e. truncated ==See also== Data loss ==References==
References
No reference rows published for this article.
Cite this article
MLA
"Data truncation." encyclopegia.org, 2024, https://encyclopegia.org/wiki/data-truncation. Accessed 25 November 2026.
Chicago
"Data truncation." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/data-truncation.
APA
encyclopegia.org. (2024). Data truncation. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/data-truncation
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON