I have a SPROC that runs every hour. This SPROC calculates the popularity of a users artwork and updates the popularity column on the main artwork table. This is the same table where users are writing to it each time they upload a new artwork.
The problem is, this sproc keeps getting deadlocked with another transaction.
Considering I am not fussed about the actual score of each artwork (it just needs to roughly present the quality of the content on the site) and it doesnt need to be 100% accurate as this score is not public.
Hence, I would like to be able to do a 'dirty update' on this column.
Is this possible?