Call now: (800) 766-1884  


 SQL Server Tips
 SQL Server Training

 SQL Server Consulting
 SQL Server Support
 SQL Server Remote DBA

 SQL Server Scripts
 Scripts Menu




  SQL Server Tips by Gama and Naughter


A hash is a function or algorithm, which takes a blob of data of an arbitrary length and produces a fixed length hash value. Many functions can take an arbitrary length of data and return a fixed length value but what distinguishes a Hash Function is that

Given the data, it is easy to calculate the hash value.

Given the hash value, it is difficult to calculate the message from which the hash value was calculated. This is why a Hash is also known as a one-way function.

Given a certain blob of data, which generates a specific hash value, it is difficult to find another blob that generates the same hash value.

Sometimes in certain applications, another feature of hashing is required. This is called ‘collision – resistance’ and means that it is hard to find two random blobs that generate the same hash.

Each hash implemented in this chapter uses the syntax “XP_AlgorithmName_HASH’

The above book excerpt is from:

Super SQL Server Systems
Turbocharge Database Performance with C++ External Procedures

ISBN: 0-9761573-2-2
Joseph Gama, P. J. Naughter  


Burleson Consulting Remote DB Administration







Burleson is the America's Team

Note: The pages on this site were created as a support and training reference for use by our staff of DBA consultants.  If you find it confusing, please exit this page.

Errata?  SQL Server technology is changing and we strive to update our SQL Server support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:and include the URL for the page.

Burleson Consulting
SQL Server database support


Copyright © 1996 -  2013 by Vaaltech Web Services. All rights reserved.

Hit Counter