The process of shortening data by discarding a portion of it.
Data truncation occurs when only a portion of data or a data stream (such as a file) is stored.
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.