GoldCoast_Nerd
08-06-2007, 12:23 AM
hey,
i always thought that NVARCHAR was a variable field, so if i set NVARCHAR for a column, it should assign double the number of characters entered as it allows unicode. but NCHAR will only allow 50 characters if the colomn length is set to 50 characters.
I've got a table with a NVARCHAR 500 column, but sometimes when updating or entering data in that field, sql server throws the error ,,
"String or binary data would be truncated."
what is goin on , have i got it all wrong,
any help or advice would be appreciated,
thanks in advance,,
i always thought that NVARCHAR was a variable field, so if i set NVARCHAR for a column, it should assign double the number of characters entered as it allows unicode. but NCHAR will only allow 50 characters if the colomn length is set to 50 characters.
I've got a table with a NVARCHAR 500 column, but sometimes when updating or entering data in that field, sql server throws the error ,,
"String or binary data would be truncated."
what is goin on , have i got it all wrong,
any help or advice would be appreciated,
thanks in advance,,