I have a SQL Server table with a varchar(30), not null. There is a record that appears to have an empty string value for that column, however the application that reads it out is triggering a FluentValidation error on a NotNull check. Looking at the data in SSMS by record id, it looks like it's an empty string, but when I search for where (column is null or column = '') there are no results. If I copy the value from that column and paste it in the where field = '', there's still no result.
Casting the varchar to varbinary, it shows a value of '0x0000000000000000000000000000000000000000'
If I copy the data from SSMS (by selecting the row in SSMS) and pasting it in Notepad++, with all symbols visible, it still shows no value for that column. Specifically, Notepad++ just shows two tabs that delimit between the values of the column before and after it.
Any idea what this special string could be? Is there a way to have a 0 length string that is not equal to ''?