Full-Stack Internet Architecture
Jan 11, 2024 · Databases
MySQL Ignoring Trailing Spaces in VARCHAR Values and How to Enforce Exact Matching
This article demonstrates how MySQL silently discards trailing spaces in VARCHAR columns during queries, shows example tables and queries where spaces are ignored, and explains how to use the BINARY keyword to enforce strict matching of trailing spaces.
MySQLSQLbinary
0 likes · 4 min read