UNDERCOVER TOOLBOX: sp_WhatsMyAG

Here's a quick one for you.  If you happen to be managing SQL Servers with a large number of databases and availability groups, it can sometimes be difficult to keep track of which database belongs to which availability group. sp_WhatsMyAG will tell you just that.  You can either provide it with the database name and... Continue Reading →

SQL Smackdown!!! Cursors VS Loops

Ladies and Gentlemen, welcome to the main event of the evening.  The SQL Undercover Smackdown Heavy Weight Championship of the World!  In the red corner, we hate him, we loath him, I've even heard people say he should be deprecated, it's the Cursor!!!  Facing him in the blue corner, loved on the forums, praised by... Continue Reading →

Create a website or blog at WordPress.com

Up ↑