Quantcast
Channel: SQL Archives - SQL Authority with Pinal Dave
Browsing all 594 articles
Browse latest View live

SQL SERVER – 2016 Error Reasons: Msg 10778, Level 16 Foreign key...

When I was writing the blog SQL SERVER 2016 – InMemory OLTP support for Foreign Key, it felt like a great addition to SQL Server. I felt there must be... The post SQL SERVER – 2016 Error Reasons: Msg...

View Article


SQL SERVER – Script level upgrade for database ‘master’ failed because...

I do apply patches to my SQL instances as and when they are released by Microsoft. This is important because I always feel keeping the bits uptodate is essential because... The post SQL SERVER – Script...

View Article


Interview Question of the Week #056 – How to fix Installation Failure – Rule...

Sometimes in the interviews I observe that users are able to answer all the theoretical questions correct but when it is about doing practical they fail. A while ago, when... The post Interview...

View Article

MySQL – How to Drop Table If Exists in Database?

In this post SQL Server – 2016 – T-SQL Enhancement “Drop if Exists” clause, we have seen the new feature introduced in SQL Server version 2016. One of my friends recently asked me question that how to...

View Article

MySQL – Different Methods to Know Current User

There are different methods to know the name of the current user in MySQL. There can be many reasons we want to know who is the current user. Here is list of the of the few of the such reasons....

View Article


SQL SERVER – Database Backup and Restore Management and Automation with...

ApexSQL Backup is a powerful yet simple tool for Microsoft SQL Server which represents a fully equipped command center for database backup and restore jobs management. It enables users to create and...

View Article

SQL SERVER – Network Name resource fails to come online in a Windows Server...

Even if you are a DBA, sometime you need to deal with issues which are not related to SQL Server. It is not by design, but this is part of our job description. It is always interesting to troubleshoot...

View Article

SQL SERVER – Backup Randomly Failing with Error 112 (There is not enough...

Solving puzzle is something everyone would love to do. It gets our creative thoughts and the things that it challenges how we can solve problems. Recently I bought a puzzle which my kid had to finish...

View Article


MySQL – FOUND_ROWS() Function for Total Number of Rows Affected

In SQL Server to get the total number of rows affected by the last statement, you can use the system variable @@ROWCOUNT. Similarly, in MySQL you can find it using FOUND_ROWS () function. The post...

View Article


SQL SERVER – Script level upgrade for database ‘master’ failed because...

I do apply patches to my SQL instances as and when they are released by Microsoft. This is important because I always feel keeping the bits uptodate is essential because I don’t want to get infected as...

View Article

Interview Question of the Week #056 – How to fix Installation Failure – Rule...

Sometimes in the interviews I observe that users are able to answer all the theoretical questions correct but when it is about doing practical they fail. A while ago, when I was helping a large...

View Article

SQL SERVER – Identifying Page Types

I try to keep the understanding and concepts for learning simple. Because for a strong building one needs to have a solid foundation. The structure’s stability is a function of how well the foundation...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – Unable to Open Maintenance Plan in Management Studio

The most queried topics in this blog have been around troubleshooting or which solve specific error messages. I always feel when I see something new as messages, I try to check if this is available...

View Article


Image may be NSFW.
Clik here to view.

MySQL – LEAST and GREATEST Comparison Operators

The biggest challenge which we often face as a database person is to compare the value across multiple columns. Trust me, if there were no comparison operators, we would have never got this task done....

View Article

Image may be NSFW.
Clik here to view.

Team Database Development and Version Control with SQL Source Control

Team database development is hard. It throws up questions about who’s responsible for code, how to track changes, and how to share them. For application development, teams can overcome these problems...

View Article


Image may be NSFW.
Clik here to view.

The Tale of the Cunning Dev, Encrypted Procedures, DAC and God Mode = ON –...

This is one of the most interesting story written by my friend Syrovatchenko Sergey. He is an expert on SQL Server and works at Devart. This article is one of the most creative and interesting story I...

View Article

Image may be NSFW.
Clik here to view.

PowerShell Script – Backup Every Database In SQL Server

Using scripts can be a powerful way to automate things that a GUI will fail in many cases. I was working with a client who wanted to write a PowerShell script that would help him automate his backups....

View Article


SQL SERVER – FIX: Setup Was Not Able to Access Domain

One of my clients approached me to provide assistance in performance tuning – which is my bread and butter these days. Often once you get into an engagement, they try to maximize the time they get with...

View Article

SQL SERVER – Error Msg 5042, Level 16 – The File ‘tempdev02’ Cannot be...

As a SQL Server DBA you would know that sometimes it is possible to make mistakes with the database. Few of the time it can be corrected. Out of them, some are easy and some are difficult. I was...

View Article

SQL SERVER – Unable to Start SQL Server – TDSSNIClient Initialization Failed...

As a part of my passion, I do visit the forums and try to help. I contacted him personally via email and found an interesting situation. So, sharing it via the blog. I saw below post in a public forum...

View Article
Browsing all 594 articles
Browse latest View live