• Hashbytes is a varbinary(8000) return value, so you need a larger column, and then you are all set.
    you do NOT need to filter or edit your columns for dashes or anything...the data is the data, so just hash the data without fiddling with it.
    https://docs.microsoft.com/en-us/sql/t-sql/functions/hashbytes-transact-sql

    Return Value

    varbinary (maximum 8000 bytes)

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!