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

Image may be NSFW.
Clik here to view.

SQL SERVER – How to Downgrade SQL Server Edition?

One of a unique advantage of freelancing is learning more and more. I get a chance to hear some of the real word problem and it gives me immense pleasure to provide a feasible solution to them. In this...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER – Case of Different Default Collation on Two Servers

Along with long term performance tuning engagement, I also provide quick consult (On Demand) to assist with any short-term issue, which might get fixed by talking to an expert. Some of the questions...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER – How to Join a Table Valued Function with a Database Table

Just another day I received following question and I find it very interesting. I decided to try it out on SQL Server 2016’s new WideWorldImporters database. The question was – “How to Join a Table...

View Article

Image may be NSFW.
Clik here to view.

PowerShell – Reading Tables Data Using Script

Earlier in this blog, I have written a number of posts by using PowerShell. The more you play around with this scripting language more are the hidden gems that come out. Personally for me, everyday is...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – Patch Installation Error: The version of SQL Server instance...

Applying a patch is something which is part of everyone’s life in the software industry. One of my clients reported below error related to Patch Installation Error. The version of SQL Server instance...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER – Rule Windows Server 2003 FILESTREAM Hotfix Check failed on...

For my upcoming training, I was trying to deploy SQL Server 2008 R2 Cluster in my client’s lab machines. I encountered a strange error and I was clueless. Let us learn about Rule Windows Server 2003...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – Fix Error Msg 35336 Working with ColumnStore Indexes

Since my consulting have started around performance tuning, I am able to see a number of customers who want to start using the new capabilities of SQL Server for their existing application as they plan...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – Fix: The Cluster Resource Could not be Deleted Since it is a...

Working with SQL Server is fun. Since SQL Clustering, and AlwaysOn availability group needs Windows Clustering so sometimes there are some cluster issues which I have to deal with and fix. Let us learn...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER – Unable to Start Services After Patching (sqlagent_msdb_upgrade.sql)

In the recent past, I have heard this issue, at least once or twice every month. Whenever I try to help a such client and I think I know the issue, I get something new. They said that they have applied...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER – Error: Property BackupDirectory is Not Available for Settings

I break a lot of things on my SQL environment and I believe that is a very good way to learn things. Today, I wanted to perform a restore of a database using a backup which I took earlier. In this blog...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – Performance Benefit of Using SPARSE Columns?

I have written a number of blogs around working with SPARSE Columns in the past and a primer to what SPARSE Columns can be got from the list mentioned: SQL SERVER – 2008 – Introduction to SPARSE...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – Msg 3047, Level 16, State 1: The BackupDirectory Registry Key is...

While writing my earlier blog, I broke a few settings and started getting new errors. Earlier, when I used to run below command, it used to work fine. However, just a day ago, it has given me error...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – Error – Attempted to Perform an Unauthorized Operation

As you might know I try hard to help the community via various channels. Comment on my blog is one of that channels. Here is a blog post which talks about error about Unauthorized Operation. Recently,...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER – Error: 26014, Severity: 16. Unable to Load User Specified...

Recently I was consulting a customer and they had plans to change certificate used by SQL Server. After making changes to certificate, we found that we were not able to start the SQL Server Service....

View Article

Image may be NSFW.
Clik here to view.

Creating and Running an SQL Server Unit Test – Best Ways to Test SQL Queries

I hope it is no secret that testing of written code is as important as writing the code itself, and sometimes even more important. Writing unit test for C#/Java/…code coverage is the responsibility of...

View Article


Image may be NSFW.
Clik here to view.

PowerShell Scripts – get-process with SQL Server process

Working with powershell scripts can be interesting. I have in the past shown a number of such scripts that we can use with SQL Server. In this blog, I was playing around understanding how I can use the...

View Article

Image may be NSFW.
Clik here to view.

PowerShell – Tip: How to Format PowerShell Script Output?

I have been writing on various ways of working with PowerShell and how to connect to SQL Server. Personally, when I see text on command prompt it is quite a mess and very difficult to decipher the...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER – Displaying SQL Agent Jobs Running at a Specific Time

Recently I was troubleshooting at a customer location something that looked trivial. When the customer approached me for a consulting requirement wherein they were saying their system was going...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – Fix: Error: Msg 1904 The statistics on table has 65 columns in...

With SQL Server 2016, I have come to know some of the restrictions which were applicable earlier are no longer the limits to look for. In one such experimentation is what I stumbled upon the blog post:...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – FIX Error: Maintenance plan scheduled but job is not running as...

This was one of the interesting issues I solved in many days. One of my clients contacted me and told that they have scheduled a maintenance plan to take t-log backup at 10 PM but it’s not running....

View Article
Browsing all 594 articles
Browse latest View live