We are trying to convert varbinary column values to a readable text using convert and cast but it return unreadable characters. Any help is appreciated.
Thank you for responding. The existing code is already pre-written, and the checksum value from the previous version differs from the current one. I would like to ascertain the text values from both the previous and current versions. is there any other way to check the text values.
You would have to generate text values, then use the same checksum or hash function on that generated text, and then compare its hash/checksum value to something in your table. As mentioned earlier, hash functions are not reversible.
Also, it's possible for 2 different text strings to hash to the same value, which is known as a hash collision. The intent of hash/checksums is to detect if something has changed, but doesn't specifically identify what has changed.