Is there any way in SQL Server 2012 to generate a hash of a set of rows and columns?
I want to generate a hash, store it on the parent record. The when an update co
For single row hashes:
select HASHBYTES('md5', Name + Description + AnotherColumn) FROM MyChildTable WHERE ParentId = 2
for table checksum:
select sum(checksum(Name + Description + AnotherColumn)*1.0) FROM MyChildTable WHERE ParentId = 2