Solved

checksum in sql (ms sql server query)

Posted on 2014-01-27
3
938 Views
Last Modified: 2014-02-02
I want to use checksum in sql query for improving performance of stored procedure. Before implementing checksum, i want to know what are the disadvantages of checksum in sql query  (sql 2008/2012).

Could you please tell me the disadvantages/drawback of checksum in sql?
0
Comment
Question by:sqldba2013
3 Comments
 
LVL 13

Expert Comment

by:magarity
ID: 39812498
What are you talking about using a checksum to do? There isn't anywhere near enough information in your question.
0
 
LVL 41

Accepted Solution

by:
pcelba earned 250 total points
ID: 39812594
It is easy. Just add the computed column based on a CHECKSUM and test the SP speed...

CHECKSUM is useful if you need to compare long data record change etc. More info: http://technet.microsoft.com/en-us/library/ms189788(v=sql.110).aspx

You should also look at BINARY_CHECKSUM and CHECKSUM_AGG.

Drawbacks: some data types are not suitable for CHECKSUM.
0
 

Author Closing Comment

by:sqldba2013
ID: 39828821
--
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question