Creating custom function for hashing data
When writing select statements to hash data from multiple columns we usually have to repeat code over and over again for each column. Things like “trim”, “isnull” etc. Is there a way to create a custom function that would do this for a list of strings or columns?