If you define a null in a view for a column (so, you always want to pass null for whatever reason), if you don't cast it, it will default to an int data type.
To get around it, do something like:
cast(isnull(columnName, 0) as varchar(8)) as columnName