SQL SERVER – The Log Scan Number Passed to Log Scan in Database ‘master’ is...
If you have landed on this blog by searching below error, then I must tell you that your SQL Server service is not getting started. Let us learn in this blog how to fix The Log Scan Number Passed to...
View ArticleSQL SERVER – Fix – Error 15240, Severity: 16, State: 2 – Cannot write into file
I always keep playing with my virtual machine which has SQL Server installed. Recently I was trying to apply the patch of SQL Server and I was surprised to see that SQL Server was not getting started...
View ArticleSQL SERVER – Unable to Apply Security Patch – The setup has encountered an...
One of my clients reported that he is trying to apply security patch for SQL Server clustered instance and it was failing. Since this is SQL 2005 instance, there is no official support available from...
View ArticleSQL SERVER – AlwaysOn AG (Availability Group) and TDE Error – Please Create a...
Along with performance consulting, sometimes I also get requests from a few clients to look at the AlwaysOn availability group related problems. ENVIORNMENT: Three node AlwaysOn availability group with...
View ArticleSQL SERVER – Understanding JSON Use is Case-Sensitive
The things I get to learn from my daughter is amazing. I think all of us need to constantly explore without any prejudice and set biases. Whenever I get a new toy for some occasion, I see there is at...
View ArticleSQL SERVER – Beautify SQL Code with dbForge SQL Complete
Often when you write a large piece of SQL code, it eventually becomes a bit disorganized, or when a big team of developers is working on one project, the code differs between individual developers, the...
View ArticleSQL SERVER – Generate Live Currency Exchange Rates using dbForge Data...
When you test an application that implements billing features, meaningful test data is extremely important. This article teaches how to quickly obtain and populate your database with live currency...
View ArticleSQL SERVER – Script level upgrade for database ‘master’ failed – There is...
SQL Server troubleshooting topics seem to be the most searched for in this blog. In continuation to this, blog for today is also inspired with one such error message. Some time back I have written...
View ArticleSQL Server – When to Use a Sledgehammer and When to use a Screwdriver
Some organizations use SQL Server Always On Availability Groups to help boost performance of applications where the users are geographically dispersed. They accomplish this by placing the secondary...
View ArticleSQL SERVER – Using dm_db_stats_properties With InMemory OLTP Tables
The whole concept of InMemory OLTP has been around for a while and still there are areas that I try to go back to learn every single time. If you are new to InMemory OLTP, I would highly recommend...
View ArticleSQL SERVER – SQL Installation fails with error code 0x851A001A – Wait on the...
One of my client was trying to deploy his product on their test servers. They found that the SQL Server installation was failing with below error. Let us learn about error Wait on the Database Engine...
View ArticleSQL SERVER – Script level upgrade for database master failed – Error: 4860,...
Of late, I have been contacted by few clients who have been facing issues with SQL startup failure after applying patch to SQL Server instance. This blog is an outcome of one such assistance provided....
View ArticleSQL SERVER – Understanding JSON NULL Value Using STRICT Keyword
Playing around with the new capability of SQL Server 2016 has been a fun journey. Even after a year, the discovery keeps happening every single day that I work with it. When I wrote the post around...
View ArticleSQL SERVER – Error Msg 10778, Level 16 with InMemory OLTP
SQL Server 2016 brought several innovations. One of the most anticipated feature additions was the ability to define foreign keys with InMemory tables. I wrote about this feature earlier on blog at:...
View ArticleSQL SERVER – Error: 566, Severity: 21 – An Error Occurred While Writing an...
Have you ever been in a situation where SQL Server shuts down by itself? It sounds strange but I met across a gentleman in flight who reported this issue to me. Since I was curious to know the cause,...
View ArticleSQL SERVER – Database Mirroring Connection Error 4 – An Error Occurred While...
I was trying to set up database mirroring in my freshly created Azure Virtual Machines and encountered an error. The error was talking about the connectivity problem, but it was something else. Let us...
View ArticleSQL SERVER – The header for file Path is not a valid database file header....
If you are coming to this page by searching, then I am sure that you are in big trouble. I have come across this error and my SQL Server was not getting started. When I looked into ERRORLOG, I found...
View ArticleSQL SERVER Management Studio – Exception of type...
I was trying to help my client in generating a report large data set. After spending some time and understanding the schema, I could provide them the query to get the results. Now, he wanted to save...
View ArticleSQL SERVER – UpdateHADRResource – Failed to version-copy file – Exception...
While applying patches on SQL server standalone instance, in the cluster, it failed with error as below in Summary.txt file. Let us learn about how to fix Exception data is: System.IO.IOException....
View ArticleSQL SERVER – Migrating AlwaysOn Availability Group to New AD Domain
As a part of my independent consulting, I also provide a high level overview of the migration strategy. As a part of this engagement, my client wanted me to provide steps to move AlwaysOn availability...
View Article