Authorized Data Truncation(-SQLTruncateTooLarge)
- Last Updated: May 23, 2025
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Use the Authorized Data Truncation (-SQLTruncateTooLarge) parameter to truncate the data returned to the user when
its size exceeds the column size.
| Operating system and syntax | UNIX / Windows |
|
||
|---|---|---|---|---|
| Use with | Maximum value | Minimum value | Single-user default | Multi-user default |
| CC, DBS | — | — | OFF | OFF |
- OUTPUT
- Set this parameter to
OUTPUTto truncate the data returned to the user when its size exceeds the column size. All SQL operations such as comparison, sorting use, actual data, and only the output is truncated. - ON/ALL
-SQLTruncateTooLargeno longer supports theONorALLoptions and treats them asOUTPUT. For more information, see the description ofOUTPUT. The database log (.lg) file records this information and displays the following message:(17955) Authorized data truncation (-SQLTruncateTooLarge): OUTPUT (ALL and ON are not supported and will be treated as OUTPUT)Note: For OpenEdge 12.8.6 and earlier releases, set-SQLTruncateTooLargetoONorALLto perform SQL operations on truncated data. Additionally, when the size of the returned data exceeds the column size, it undergoes truncation.- OFF
- When the parameter value is set to
OFF, data will not be truncated and an error is returned.
The Authorized Data Truncation (-SQLTruncateTooLarge) parameter may be modified while your database is online
using PROMON or through the _DbParams VST. This change will only take effect on the primary
broker and its newly spawned servers.