Subject | Prevent silent string truncation |
---|---|
Author | |
Post date | 2017-07-10T19:45:36Z |
I believe that when one assigns as string to a field that has a shorter length than the string (e.g. putting 'HELLO' in a VARCHAR(4)), that string will be silently truncated to fit (e.g. 'HELL'). Is there an option somewhere to instead throw an exception?