Trouble shooting Availability Group Listener in Azure SQL VM
Last week, I have had one mystery challenge while creating Availability Group listener in Azure. We followed Configure one or more Always On Availability Group Listeners – Resource Manager and found...
View ArticleSQL Diagnostics Project Part 2 – Custom SQL Nexus Imports
Several years ago, I wrote a blog post as to how you can collect your own custom SQL data from a SQL: Server instance (usually one from a customer) using the PSSDiag utility from Codeplex. At the end...
View ArticleSplit a file group into multiple data files
Periodically we are asked how to split an existing filegroup into multiple data files. The quick answer is that SQL Server does not have a built-in way for you to do that automatically, but you can do...
View ArticleSSIS: Capturing PerfMon Counters During Package Execution
While troubleshooting SSIS package performance, having the ability to view the performance monitor counters can be handy for determining where bottlenecks may be occurring. Usually, however, this is a...
View ArticleHidden Gem TRY_CONVERT to troubleshoot data type conversion
Many of us have experienced a dreaded data type conversion error when doing tasks like importing files, converting to new database schemas, etc. Which record caused the problem? I have used a few...
View ArticleSQL 2016 – Temporal Tables – How do you drop a Temporal Table?
As we continue our journey with Temporal Tables, the next topic will be how do you drop them. While this may seem like an odd thing to write about, dropping a Temporal Table does have a couple extra...
View ArticleHidden Gem TRY_CONVERT to troubleshoot data type conversion
Many of us have experienced a dreaded data type conversion error when doing tasks like importing files, converting to new database schemas, etc. Which record caused the problem? I have used a few...
View ArticleQuick Tip – Shift+Alt for multiple line edits
We’ve all been in the position where we are doing research and need to add commas or single quotes around a list and it’s a pain to go through one line at a time to add them. While working with Scott...
View ArticleHidden Gem TRY_CONVERT to troubleshoot data type conversion
Many of us have experienced a dreaded data type conversion error when doing tasks like importing files, converting to new database schemas, etc. Which record caused the problem? I have used a few...
View ArticleSSISDB Reporting with Power BI
Back in 2012 when the project deployment model came out for SSIS, many questions were asked regarding its advantages vs the old legacy deployment model. I still see quite a few customers today who use...
View ArticleAPS Blocked Partition Switch
In SQL Server, when you perform a partition switch, a schema lock is acquired briefly to do the operation. This can get blocked by read operations that have a schema-s lock on the table. APS works a...
View ArticleHidden Gem TRY_CONVERT to troubleshoot data type conversion
Many of us have experienced a dreaded data type conversion error when doing tasks like importing files, converting to new database schemas, etc. Which record caused the problem? I have used a few...
View ArticleLogin Failed for xxx – Who’s Keeps Trying to Connect to my Server?
I recently ran into an issue in which a machine was connecting to SQL and continuously generating a login failure every second. The account name was NT AUTHORITY\ANONYMOUS LOGON which typically means a...
View ArticleTroubleshooting CDC enabling failure – Part 1
My customer had recently experienced 2 interesting CDC issues and I would like to share the troubleshooting process and root cause for these issues today. The issue: During the weekend, my customer...
View ArticleIncreasing the Number of SQL Server Error Logs – My Automation Journey – Part 2
In my last post, I discussed how to increase the error logs through the GUI and explained the back end stored procedure that is used to set the value in the registry. In this post, I will cover a...
View ArticleHidden Gem TRY_CONVERT to troubleshoot data type conversion
Many of us have experienced a dreaded data type conversion error when doing tasks like importing files, converting to new database schemas, etc. Which record caused the problem? I have used a few...
View ArticleTroubleshooting CDC enabling failure – Part 2
In previous blog, I discussed the CDC failure due to guest user disabled in MSDB. My customer also experienced another issue at the same time: Msg 22832, Level 16, State 1, Procedure...
View ArticleHidden Gem TRY_CONVERT to troubleshoot data type conversion
Many of us have experienced a dreaded data type conversion error when doing tasks like importing files, converting to new database schemas, etc. Which record caused the problem? I have used a few...
View ArticleSSIS: Setting the same variable in multiple projects in the catalog
Recently I was assisting a customer with a review of their SSIS implementation and one the security implementations that they had in place was service accounts for SQL Server Integration Services...
View ArticleSQL 2016 – Temporal Tables – Triggers and Historical Data Tidbits
Hello again and welcome back to the series on Temporal Tables! Today we will take a look at two common questions. What happens when I put a trigger on a Temporal Table and can I back populate the...
View Article