Skip to content

sedenardi/sql-hashing-clr

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

sql-hashing-clr

SQL Server CLR that implements hashing for 4 different algorithms that does not have SQL Server's 8000 byte input limitation. This project also includes a function that uses both the HASHBYTES() function and this CLR based on the length of the input.

###HashUtil.cs The actual CLR class.

###GetHashHybrid.function.sql The function that either calls SQL Server's HASHBYTES() function or the CLR based on the length of the input.

###benchmark-under8000.script.sql This script evaluates the CPU usage of HASHBYTES(), the CLR, the hybrid function, and fn_repl_hash_binary using inputs under 8000 bytes. Detailed information can be found in the comments of the script.

###benchmark-over8000.script.sql This script evaluates the CPU usage of the CLR, the hybrid function, and fn_repl_hash_binary using inputes both under and over 8000 bytes. Detailed information can be found in the comments of the script.

About

SQL Server CLR that implements hashing for 4 different algorithms that does not have SQL Server's 8000 byte input limitation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages