I am wondering what the literal for a Null character (e.g. \'\\0\') is in TSQL.
Note: not a NULL field value, but the null character (see link). >
Are you certain they are null characters? How did you get them in there?
It looks like SQL Server treats them as string terminators. This query:
select 'aaa' + char(0) + 'bbb'
Returns aaa for me (on SQL Server 2008).
Edit: Above is wrong - it's just the results grid that treats them that way. They show up in text mode.