Monday Coffee 2017-02-13
Man, if there was an award for procrastinating I’d definitely be in with a shout for today (I write these posts on the weekend). So I’m half writing this sitting on my balcony with a beer, one eye on...
View ArticleWhat Does a DBA Do All Day?
It is clear to me that no one, except for database administrators, has any idea what a DBA does all day long:The post What Does a DBA Do All Day? appeared first on Thomas LaRock. If you liked this post...
View ArticleSQL SERVER – FIX: Msg 7356, Level 16 – The OLE DB provider “ASEOLEDB” for...
In SQL Server, we can create linked server to many other RDBMS. The providers to connect would generally publish by destination RBMS. In this client scenario, they were dealing with linked server to...
View ArticleAzure Advisor Recommendations
Logging into the Azure portal is a daily task of mine and my eyes light up when I see features in preview mode. With that being said Azure Advisor Recommendations is what I will be writing about today....
View ArticleSQL SERVER – FIX: Msg 15281- SQL Server Blocked Access to Procedure...
One of my blog readers pinged me on Skype and asked a simple question. I always thought I had a blog written about this error, but I was wrong. So, this blog is the outcome of a short interaction with...
View ArticleTrue story: Encryption in progress stuck
Working with a couple of databases that needed TDE I noticed when I enabled one of them that it was stuck on “encryption in progress” for quite a while. Using the following query I confirmed the...
View ArticleSQL SERVER – Powershell Script – Remove Old SQL Database Backup Files from...
Few days back I wrote blog to help my blog reader and this is follow up on the same post How to Add Date to Database Backup Filename? – Interview Question of the Week #109. In this blog post we will...
View ArticleThe Future of Managing Databases in a Hybrid IT World
When you work in information technology long enough, you get to see how people react when something new comes along. Some people embrace change, even to the point of being an early adopter. Others...
View ArticleGartner Magic Quadrant for BI 2017 Top 3 Rankings
This is a different spin on the top three vendor rankings visualized in Power BI. According to the placement of the chart elements in the “Visionary/Leader” quadrant, Microsoft leads Tableau by a...
View ArticleSQL SERVER – Cannot open backup device. Operating system error 1326 (Logon...
There might be various reasons for above error, but this case is very specific to a situation where SQL Server was installed on a machine which was in Workgroup whereas the backup destination was the...
View ArticleHow to Keep Certain Records on Top While Ordering Data? – Interview Question...
Question: How to Keep Certain Records on Top While Ordering Data?Let me elaborate this question as it is originally received.“Hi Pinal,I just returned from an interview and I faced a very strange...
View ArticleSQL SERVER – Fix: Error 946, Severity: 14 – Cannot open database ‘DB’ version...
I was consulting a client for migration from SQL 2014 to SQL 2016. They were using methodology discussed in books online here. https://msdn.microsoft.com/en-us/library/dn178483.aspx (Upgrading AlwaysOn...
View ArticleMonday Coffee 2017-02-20
No rugby on last weekend so I didn’t have anything to distract me from working. On another note, my flat has never been cleaner!So last week Microsoft announced Availability Groups for SQL Server on...
View ArticleSetting up SQL Server to SQL Database (Azure) Replication
I had a need to setup transactional replication from my SQL Server to SQL Database (Azure) where I only needed a selection of tables that I wanted to off-load to Azure. For this post I will be going...
View ArticleSQL Slammer Is Back. Here’s What You Need to Know
First reported back in 2002, the SQL Slammer virus caught fire in January of 2003, and spread worldwide.The post SQL Slammer Is Back. Here’s What You Need to Know appeared first on Thomas LaRock. If...
View ArticleSQL SERVER – Error 17113, Severity: 16 – Error Occurred While Opening File...
While playing with my SQL Server startup parameter, I made some mistakes and came to a situation where SQL Server was not getting started. In this blog post, let us learn about error 17113.Whenever you...
View ArticleSQL Server vNext: sys.dm_db_stats_histogram
Since installing SQL Server vNext CTP 1.3 I found out that there is a new way to return statistics histogram for a specific stat which actually is also available with the latest Cumulative Update for...
View ArticleQuick Tips:- Add SQL User/Rolemember to all Databases in SQL Server
Most of times when you have dedicated SQL Server for an Application clients come up with a request to add a user to all databases in the SQL Server with certain permission, while its east to do it via...
View ArticleSSMS Presenter Mode
SQL Server Management Studio (SSMS) release candidate 17.0 RC2 works side-by-side with generally available releases (16.x), but it is not recommended for production use. There are many enhancements...
View ArticleA Program to Find INSERT Statements That Don’t Specify Columns
Unlike mathematical relations, SQL tables have ordered columns, but please don’t depend on it. In other words, try to treat these tables as the same because it’s super-awkward to turn one into the...
View Article