BINARY_CHECKSUM
binary hash over values
What changes
- Input
- one or more columns (or *)
- Output or change
- int hash
- Return type
- int
Syntax at a glance
BINARY_CHECKSUM ( * | expression [ , ...n ] )
Work example
Create a quick checksum for a limited change-detection comparison.
Read state in the intended scope and immediately after the statement it describes. Treat host values as untrusted.
Check your work Collisions are possible and this is not a cryptographic integrity check.
Open Microsoft Learn for full syntax, permissions, and details for your version.