Value.ResourceExpression() And Query Folding In Power BI
When the June update for Power BI Desktop was released, I was extremely excited to discover an undocumented new feature that allows you to see when query folding is taking place while loading data in...
View ArticleAzure SQL Database Live Migrations
Unfortunately, with Azure SQL Database you are not able to take an existing SQL Server Backup and restore it on an Azure SQL Database server. We are talking about Microsoft’s database as a service...
View ArticlePowerSQL – Get SQL TraceFlag SQL Service and Config Information
Get SQL Server configuration, service info, start type along with enabled Trace Flags of local or remote servers.This script outputs sql server configuration, service, start type, Service Account along...
View ArticleSQL SERVER 2016 – Learn Installation of SQL Server 2016 in 2 Minutes Video
Every time when new SQL Server version arrives, lots of people want to install it, however the biggest hesitance is the fear of unknown. Lots of people do not try out new software because they are...
View ArticleBug fixes in SQL Server
SQL Server 2016 CU1 has been released and one thing I noticed was: –FIX: Canceling a backup task crashes SQL Server 2014 or 2016That’s pretty nasty, when I originally clicked on the link I was...
View ArticleWhen was this database restored?
I frequently need to know where backups went and I restore those backups for operational recovery on a regular basis. Would you believe in 20+ years as a DBA I can count the number of database restores...
View ArticleDo you Use CLR in SQL Server?
We don’t use CLR assemblies in SQL Server. For us, programming in the database means that maybe “you’re doing it wrong”. But there have been rare circumstances where I’ve wondered about what the...
View ArticleSQL Saturday Changes
If you keep up on all the news coming out of PASS then you might have seen the recent changes that are going to be made to the SQL Saturday offering starting Jan 1st, 2017. If you haven’t had a chance...
View ArticleStopping Azure Services Automatically
Like most speakers who give presentations using Microsoft Azure, I’ve managed to leave services running for days (or weeks) without realizing it. To help solve this I put together a run book that runs...
View ArticleT-SQL Tuesday #081: Sharpen Something
Sharpen SomethingIt has now been 30 months since the last time I hosted a TSQL Tuesday, that was TSQL Tuesday 51. I recapped that event here with the original invite here. I can’t believe it has been...
View ArticleSQL SERVER – Becoming a More Effective DAX Developer with DAX Studio – Notes...
[Note from Pinal]: This is a new episode of Notes from the Field series. I personally have no problem accepting that I do not know many topics. One of the such topics is DAX Studio. I always wanted to...
View ArticleJen’s PASS Diary: BA Portfolio thoughts, please
As always, this isn’t an official PASS blog post, but one of my braindumps.In a nutshell, I want to pick community brains. You will have seen the latest blog post from PASS about the strategic...
View ArticleSQL Agent 2016 Jobs Running PowerShell Scripts
I recently performed a side-by-side upgrade of a SQL Server 2008 R2 instance to SQL Server 2016 RTM. This particular instance had over 200 SQL Agent jobs running various PowerShell scripts. After the...
View ArticleSQL SERVER – What is Deadlock Scheduler? How to Reproduce it?
If you have come on this page by internet search, then you must have seen below error in the ERRORLOG which is about deadlock scheduler.2016-07-25 08:50:29.50 Server *...
View ArticleLife Lessons – Understanding Your Customer
A couple of weeks back, I wrote a blog around – Life Lessons – Are There Rules for Interacting With Customers. This has been just to write out what I had in mind and how I approached a customer in...
View ArticleDoes Dropping Primary Key Drop Clustered Index on the Same Column? –...
Question: When we drop primary key on the column, does it automatically drop a clustered index on the same column (if created)?Answer: This is one of the most popular questions, whenever I ask this to...
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 errorStatusMessage {“status”:...
View Article#0379 – SQL Server – Basics- Declaring multiple variables in a single statement
We look at how to declare multiple variables and assign values to them in a single DECLARE statement.
View ArticleFeasel’s Grand Analysis of the PASS 600 mile radius rule
UPDATE: Last week, PASS announced an update to the 600 mile radius announcement: “…we will be piloting the 600-mile driving radius distance for events in North America beginning January 1, 2017. We...
View ArticleSpeaking at PASS Summit 2016
I’m extremely fortunate to have been selected to speak at PASS Summit, “the world’s largest gathering of SQL Server and BI professionals.” PASS has once again put together a fantastic lineup, and I’m...
View Article