This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

storage/retrieval of ASCII(32)

problems storing/retrieving (ascii 32) value, it can be stored, but cannot be retrieved correctly.

for example :we have table x in which there is a column col( char(1) type) , when we are inserting chr(32) in col , t is inserting successfully but the time of retrieving it is giving output 0.

select ASCII(col) from x;

output is 0 instated of 32.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.