SQL SERVER – FCB::Open failed: Could not open file for file number 2. OS...
I assume a number of times when the machine is booted up, I am most likely to hit the Management Studio to work on some script or the other. But sometimes strange things happen and I get all sorts of...
View ArticleRecover Lost Data Using the Transaction Log Files
Every now and then, experienced SQL Server DBAs as well as the SQL Server rookies find themselves in the unpleasant situation when some important data has been changed or lost with the monumental task...
View ArticleSQL SERVER – Error Fix: Msg 13601 Working with JSON Structure
As you new versions of SQL Server come, the amount of capabilities just increases exponentially. It is tough to keep up in pace with the innovations and learning that one needs to go through. I have in...
View ArticleHow to Use Zip With SSIS? – Notes from the Field #130
[Note from Pinal]: This is a 130th episode of Notes from the Field series. In this episode we are going to learn something very simple but effective about SIS and Zip. This subject is not very much...
View ArticleSQL SERVER – Script level upgrade for database master failed because upgrade...
Sometimes I feel that one error can be caused due to multiple reasons and there are different ways to solve it. I already have two blogs for the error message. As they say, there are is no silver...
View ArticleSQL SERVER – Unable to cast object of type ‘System.DBNull’ to type...
When you are driving on a highway, you look forward to the sign boards give you guidance while you are busy driving. These sign boards tell you when your exit is approaching and how you should be...
View ArticleSQL Server Agent – Unable to start the service – The request failed or the...
Rarely, it also happens when someone becomes accidental DBA and may get stumped with simple things. This blog is result of troubleshooting which I have done for a company where I found one such DBA. I...
View ArticleSQL SERVER – Fix Error Msg 13602 working with JSON documents
My saga of working with JSON documents and finding out the various errors continues. With JSON being one of the new data structures introduced inside SQL Server 2016, I have been exploring to how these...
View ArticleSQL SERVER – Detected a DTC/KTM in-doubt Transaction with UOW
Recently, one of my clients contacted me to assist in fixing and issue which was causing their production database to be in SUSPECT state. The learnings I am getting from various consulting engagements...
View ArticleSQL SERVER 2016 – WARNING: Setup Limited to Reporting Services for SharePoint
I have a habit of generally reading the “What’s New” section whenever a new version is around in the block. This is a great way to actually check, learn everything that is getting released in a...
View ArticleSQL SERVER – Tracking Database Dependencies
In this blog post we will be learning about tracking database dependencies. Dependency Analysis If database changes are needed to be made at a column level, it’s essential that you perform impact...
View ArticleSQL SERVER – Delayed Durability, or The Story of How to Speed Up Autotests...
This is one of the most interesting stories written by my friend Syrovatchenko Sergey. He is an expert on SQL Server and works at Devart. Just like me he also shares his passion for Wait Stats and new...
View ArticleSQL SERVER – Install Error – Could not Find the Database Engine Startup Handle
Note: There are multiple reason of above error and this blog shows just one of them. I am sure that this blog would give you guideline about what do to in case you see this error about install error....
View ArticleSQL SERVER Installation – FeatureUpgradeMatrixCheck (SQL Server 2016 Feature...
One of the best ways to learn problems faced by individuals and organizations is to look at the forums for these issues. Often I have visited MSDN forums and see if there are some hot or interesting...
View ArticleSQL SERVER – Unable to Create Listener for AlwaysOn Availability Group in...
Recently I was trying to help a customer who was deploying AlwaysOn Availability Group in Microsoft Azure via template deployment. The template was failing with below error StatusMessage { “status”:...
View ArticleSQL SERVER – Setting Firewall Settings With Azure SQL Server VMs
Recently I had a session around using SQL Server on Azure and during this session one of the questions was to access the SQL Server in a Hybrid Setup. This is a typical scenario wherein the developer...
View ArticleSQL Complete – Smart Code Completion and SQL Formatting
A week ago, I saw a notification about the release of dbForge SQL Complete 5.5. As a long-time user of this product, I have updated to the new version. A week later I decided to share my impressions of...
View ArticleSQL SERVER – Event 17058 – initerrlog: Could not Open Error Log File
If you have ever interacted with me or taken my services, you would notice that I always ask for ERRORLOG in almost all of my contact with my client. Once of my friend contacted me and when I asked for...
View ArticleSQL SERVER – Error: 14258 – Cannot perform this operation while...
One of my clients asked assistance in fixing an interesting issue. They informed me that they are not able to run any job in SQL Agent. When they try to run the job manually, they are seeing below...
View ArticleSQL SERVER – How to Recover Truncated or Deleted Data When a Database Backup...
Recovering lost data that was deleted or truncated can be fairly quick and easy, depending on the environment in which the database resides, recovery measures implemented before and after the data loss...
View Article