HMG3.6 and MySQL
Posted: Fri Feb 14, 2025 1:03 pm
Some strange behaviour I found...
I have a sql-field defined as CHAR(1) in my table.
When selecting it like this:
It should always give a CHAR(1) and LEN=1 as result but first result is LEN=4
Any idea somebody?
Serge
I have a sql-field defined as CHAR(1) in my table.
When selecting it like this:
Code: Select all
? 'aCurRow1:fieldGet(9)', aCurRow1:fieldGet(9), len(aCurRow1:fieldGet(9))
? 'trim aCurRow1:fieldGet(9)', alltrim(aCurRow1:fieldGet(9)), len(aCurRow1:fieldGet(9))
Any idea somebody?
Serge