My CUSTOMER table has some characters that are causing a downstream XML process to bark. It appears to be where LAST_NAME has a two-byte character. I’ve reviewed this SQL Server question which explained collation. But I’m still stuck. I notice that some characters are 2-bytes. I’m using AL32UTF8 and UTF8 character sets.
How can I find the last_names with 2 byte characters?
Is that the question I should be asking if I want find all 2-bytes characters regardless of the collation?
for the basic check of bytes != characters you can do something like
but as NullUserException stated, depends how you really want to define special characters.
Look here:
http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions233.htm#SQLRF06162