Different sized columns from same table?

  • Why does SQL server return different column sizes on different DB servers when doing an UPPER()?

    The two servers have the column defined the same (char(20)) and they are running the same version of SQL server (2000), but one returns a field that is 20 wide and the other 40.

  • Sounds like one server is defined as NCHAR and the other as CHAR. The wide character format takes two bytes per character.

    Guarddata-

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

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