How to use variables with Microsoft SQL
In this post we are going to cover how to declare, set the value and use a variable in a Microsoft SQL. What is a variable? Before we get into how to use them, it is best if we define …
In this post we are going to cover how to declare, set the value and use a variable in a Microsoft SQL. What is a variable? Before we get into how to use them, it is best if we define …
Recently I had to solve an issue with a users permissions to Microsoft SQL. When running a report from Microsoft Excel, they would get the message; Unable to connect We encounter an error while trying to connect. Details: “Microsoft SQL: …
I recently used the following TSQL on a Microsoft SQL server to create and populate a table from a table on a linked servers. In my case my linked server connection was linking to a MySQL database but the same …
The following steps detail how to use SQL Management Studio to add a user to an Azure SQL database. How to give that user permissions and additional steps for the mirror server if you are Geo replicating the database This …
Overview Recently I wanted to create a SQL Backup Maintenance plan that would backup to an Azure storage blob container. After completing the GUI the backup step would not complete, instead I got the error “Use of WITH CREDENTIAL syntax …
The following is an example PowerShell script to connect to a Microsoft SQL Database and dump the results of a query into a CSV file. You will need to change the connections variables at the top of the script along …
Problem After recently setting up a SQL Availability Group my automatic and manual failovers were not working. When I attempted a manual failover I received the error “Failed to perform a manual failover of the availability group“…..“Failed to bring availability group …
Problem While trying to set up a couple of SQL Enterprise servers in an Availability Group I kept getting the message “The local node is not part of quorum and is therefore unable to process this operation” I had already …
The company I work for uses Manage Engines Service Desk Plus for it’s ticketing system. It is great product and has some good inbuilt reporting features, however for my needs I use a suite of SQL queries to pull data …