Subject | RE: [IBO] Prevent silent string truncation |
---|---|
Author | IBO Support List |
Post date | 2017-07-18T22:44:33Z |
Yes, there is, although it might only work for native IB_Query components.
Please see about the DefaultNoLengthCheck property of the connection/database component.
Jason
From:
IBObjects@yahoogroups.com [mailto:
IBObjects@yahoogroups.com ]
Sent: Monday, July 10, 2017 1:46
PM
To: IBObjects@yahoogroups.com
Subject: [IBO] Prevent silent
string truncation
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?