scalar-udf

SQL Server 2008 and HashBytes

Good Day Sir/Madame! ^_^ I'm quite a novice when it comes to sql, so please forgive my ignorance. I have quite a large nvarchar which I wish to pass to the HashBytes function. I get the error: "String or binary would be truncated. Cannot insert the value NULL into column 'colname', tbale 'table'; column does not allow nulls. ...