How to update and query an SQL Queue table with multiple consumers

First, create the test table and populate it with some data. The data itself isn’t too important; we just want a table that will be updated while also concurrently be queried and then deleted. Now open a second tab and paste this next query. This one will make random changes to the queue table every… Continue reading How to update and query an SQL Queue table with multiple consumers

My Main Rules For Life

Don’t Lie. Be Kind. Not Yours? Don’t Touch. Always Learn. Leave things better than you found them. These pretty much cover every action I take (or don’t take). I know they’re not “Earth Shattering” or “Complex“. But I believe in their simplicity and earnestness, and I hope that by sharing them I can bring some… Continue reading My Main Rules For Life

How to Return Status in C#

I use the design pattern of returning a Status in a tuple with the exception or actual result I need to return like this, You don’t have to go “all out” like this Status example (I got bored one day). Basically 0 is none, neutral, or unknown.Anything less than 0 is a type of error.And… Continue reading How to Return Status in C#

Published
Categorized as How To