Hi Ulrich,
it's not direct vs. implicit cast, it's the literals: any character literal is in Unicode and the CASE/COALESCE is using the most appropriate datatype.
Should be documented somewhere in the Datatypes and Literals SQL manual.
Standard SQL is probably not the cause, in lots of different areas it's "implementation defined".
Dieter
↧