SqlShare.com Logo
 
Skip Navigation Links
Home
Video List
Events
Classes
About Us
Login / Register
Subscribe RSS Feed 

Idera SQL Check

Using the TSQL Checksum Function

Brian Knight introduces the checksum function and demonstrates how to use it to determine that a column or an entire row has changed.

Duration:
3 mins 17 secs
Skill Level:
100
Rating:
4.36 out of 5
Publish Date:
December 01, 2008
Using the TSQL Checksum Function You must be logged in to view this video.  
Bookmark and Share
 
1=Poor, 3=Good, 5=Excellent

About the Author

Image of Brian Knight
Owner of Pragmatic Works :: Brian Knight, SQL Server MVP, MCSE, MCDBA, is the co-founder of Jumpstart TV and SQLServerCentral.com. Brian has written and co-written 9 technical books. Brian has spoken at conferences like PASS, TechEd and Connections. Brian develops solutions with Pragmatic Works to migrate DTS packages to SSIS.

References

There are no downloads or recommended reading links for this video

Comments
Paula Hudson on 12/18/2008
The speaker spoke a little too rapidly, but I could keep up. Also, in a couple places at the beginning, the words he was saying were really run together, just for a bit. Don't know if that could be related to bandwidth on my end?

John O'Sullivan on 1/5/2009
A very interesting topic

Andrew Webster on 1/5/2009
Good video, thanks.

michael on 1/5/2009
I love these nuggets of information!

Should include if capital letters generate diferent value.

John Barone on 1/5/2009
I never knew about this. I can see a lot of use for it. Thank you for providing this video.

nyaknoabasi on 1/5/2009
ok and great i wish the display could be larger and clearer

Nancy Simmons on 1/6/2009
zooming in the screen really assists in seeing what is being discussed.

Ed Svastits on 1/6/2009
Another great short segment from Brian.

Jon on 1/6/2009
Very good explanation - Thanks!

Mickey on 1/25/2009
wonderful, clear and concise and good examples used

R on 2/1/2009
Good... i come to know new concept... Thanks!! -R

A. Faulkner on 2/12/2009
Thanks for the work you guys do! Keep up the good work!

Chris Helm on 2/13/2009
very useful.

ramdas on 2/17/2009
It's very good.

Scott Krell on 3/11/2009
Very helpful and useful video

hassan on 5/25/2009
greate

3EAA01C6D4 on 9/11/2009
very useful, cheers

D Arthur on 10/26/2009
There is also BINARY_CHECKSUM, which is case-sensitive for strings, and CHECKSUM_AGG which can detect changes in a table.

Daniel Gras on 10/26/2009
Curious about the rumors that checksum sometimes does not detect a change, in rare cases.

Andres on 12/29/2009
Good Tip

Sukhvinder on 5/13/2010
Brilliant thanks. I did not understand it on online help but you explained it so well that I understood it very well. Your videos are great and help so much. Please keep up the good work.

David McDonald on 11/4/2010
I was looking for a description of how checksum works, vs. just an example of its usage. I can deduce how it works after reviewing the video. Just took me a little longer, otherwise it was a nice little video. Thank you.

Jeff Benedict on 6/15/2011
Great.. opens new thoughts on comparison

karloz on 6/15/2011
Excelent video!! tks!!

Jason Vollaire on 6/15/2011
Dig Brian Knight, he demonstrates well and clearly. No room for questions or afterthought. As a self trained BI Developer his input is of great value to me. Shot Brian for the hard work!

Stephen Russell on 6/15/2011
Didn't get the Why aspect for using the checksum. Maybe to pass in a WCF collection that they validate on their side?

Angelo Cook on 6/15/2011
you should use extream caution when implementing the checksum for row uniqueness. I have ran into issues when two totally differnet rows produce the same checksome.

massoud on 6/15/2011
superb....!!!

kevin on 6/15/2011
Pretty good uses in the old day's for checksum, but with sql 05+ I have been using hashbytes to get a unique value in slowly changing dimensions and updateable tables.

A2D6709F0F on 6/15/2011
Good and concise explanation with nice, simple examples.

Jon Gaylord on 6/15/2011
Good quick summary.

Paul E Richmond on 6/15/2011
Great introduction to a feature I had not considered before. Good trick to add to my bag.

Jonathan Ausubel on 6/15/2011
What about NULL values? How do those affect the CHECKSUM function?

Sara Karasik on 6/15/2011
Fantastic! Easy to use, and useful

Shane on 6/15/2011
Brian, thanks for the video, however I think it's important to let your viewers know that the rate of collisions is actually a lot higher than many would think.

Bill Jones on 6/15/2011
Thanks!

Alfredo Ramirez on 6/15/2011
going to use tomorrow ;-)

nilesh_jaybhay on 6/15/2011
awesome

John O'Sullivan on 6/16/2011
a good tip

sushmita on 6/16/2011
was useful thanx

Ludwig on 6/17/2011
Where can we get the cecksum function from?

Glenn Greenwell on 6/21/2011
in the video you mention it works most of the time. when does this not work?

Cheryl on 6/22/2011
Wish I understood better how to use the outcome.

Buck Webb on 7/1/2011
The combination of a unique key (say a surrogate key) plus the checksum gives as close to 100% guarantee of uniqueness on large datasets as one typically needs for datawarehouse incremental change/add/delete functions, I've found.

revanth on 7/8/2011
good

Jeremy Espineda on 7/11/2011
how can it be all the columns if I have identity column in the table?

Goutham on 9/18/2011
it was nice.. I learnt this in minutes...I was not knowing this feature. Thanks for this nice training.

Maurice Ivory on 11/9/2011
This will be very helpful for me in the future.



Must Be Logged In
 

How Do I Become a Video Author? |  Newsletter History

Copyright © Fourdeuce, Inc., 2005-2009. All Rights Reserved | Privacy Policy | Terms & Conditions