not sure from where you concluded that.
here literal-strings are being discussed.
see --
select type(f01), type(f02) from (select coalesce(cast('yes' as varchar(10)), '') as f01, cast(coalesce('yes', '') as varchar(10)) as f02) as t;
*** Query completed. One row found. 2 columns returned.
*** Total elapsed time was 1 second.
Type(f01) Type(f02)
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
VARCHAR(10) CHARACTER SET UNICODE VARCHAR(10) CHARACTER SET UNICODE
both are unicode type.
↧