Double byte (UTF-8)

  • How can I upgrade the Datawarehouse DB in SQL Server to support double byte? Can somebody help me?

  • How do you mean support double byte?

    Maybe enough to look into NCHAR and NVARCHAR? Or maybe just a different COLLATION is enough?

  • You have to redefine your datatypes. Collation is not enough because if a column is defined char(8), varchar(8)... it means max. 8 single bytes (characters) will be stored regardless of the collation.

    If you define your column nchar(8) or nvarchar(8) then you will store 8 double bytes (16 bytes) there.



    Bye
    Gabor

  • Thanks guys!!! Your answers help me a lot!

  • Suggestion: This discussion should have been post in the Globalization forum.

    For further reference it is clearer.

    Regards,

    Carl

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply