We ran into a problem with our Sybase servers and how they store strings. It turns out that when you store an empty string,
Sybase always returns a single space. Using the following insert statement (quoted string with no space).
insert into customer (lastname) values ('')
The result is lastname == '{space}'
I didn't think any commercial database still implemented it this way.
Note to Sybase - empty string and null are two distinctly different values.