Question: How to Invalidate Procedure Cache in SQL Server?
SQL Authority News – 100 Million Views and Onwards
I will always remember August 20, 2015 as a landmark milestone for SQLAuthority.com. On August 20th, this blog crossed 100 Million Views. When I started this journey on November 1, 2006, I had no idea that there will be over 100 Million Views on this blog. I am indeed very proud…
Read MoreSQL SERVER – Rewriting Database History – Notes from the Field #094
[Note from Pinal]: This is a 94th episode of Notes from the Field series. When I read the title of this article – I was extremely intrigued with it – Rewriting Database History! When I was a kid, history was my favorite subject and till today when I have to deal…
Read MoreSQL SERVER – How to Migrate Existing Database to Contained Databases
Most of the queries that land into my inbox are based on something I have already written or something people want to explore more on. When it comes to learning and exploring the skills, there is no better way compared to people asking me some tough questions. This blog is…
Read MoreSQL SERVER – PowerShell – Knowing SQL Server Information
If you search this blog, there are a number of PowerShell scripts that I have shared in the recent past. Some of them include: Using PowerShell and Native Client to run queries in SQL Server Identify Disk Latency on SQL Server Box Using PowerShell How to Find Logical and Physical…
Read MoreInterview Question of the Week #032 – Best Practices Around FileGroups
Here is another question I just heard during a recent interview in the multinational company. I have observed over 1000s of interview, but this is the first time I have heard this is being discussed and I was very much glad to hear it. I have listed the answer of…
Read MoreSQL SERVER – How to Identify Locked Table in SQL Server?
Here is a quick script which will help users to identify locked tables in the SQL Server. SELECT OBJECT_NAME(p.OBJECT_ID) AS TableName, resource_type, resource_description FROM sys.dm_tran_locks l JOIN sys.partitions p ON l.resource_associated_entity_id = p.hobt_id When you run above script, it will display table name and lock on it. I have written…
Read MoreSQL SERVER – Unable to Bring SQL Cluster Resource Online – Online Pending and then Failed
Here is the situation which my client explained and I was asked for help about SQL Cluster Resource.
Hi Pinal,
We are having 2 node windows cluster having 3 SQL Server instances clustered running on Windows 2012 R2 on VMware. We have one instance that will start from the services.msc but not from the Failover Cluster Manager when attempting to bring the service online. In reality the services start because during the ‘Online pending’ I am able to connect and query the databases on that instance, although it is in the ‘Online pending’ state.
Do you know what could be the problem?



