PASS Summit 2016 Attendee Orientation Webcast
On October 7th at 11am PST / 2pm EST join me (Denny Cherry) at the PASS Summit 2016 Attendee Orientation. During this webcast we’ll cover everything you need to know about the PASS Summit, before...
View ArticleSQL SERVER – FIX Error 18456, Severity: 14, State: 5. Login failed for user
Some errors are historic and have the most common root cause. Sometimes we really don’t know why they happen and I have seen clients go nuts to identify the real reason for the problem. In a recent...
View ArticleSA Spoof
This is nothing new but it’s still a fun idea.The problem:The vendor app we just purchased (and are told we must keep) requires the sa password.The vendor insists that sa is hard coded into the app and...
View ArticleJen’s PASS Diary: Two Pillars for Leadership
As always, I don’t represent PASS. Here are my two pillars:Say Thank You.The number one item is to say ‘Thank You’ to people for their efforts, even if you don’t like what they did. They are on a path;...
View ArticleThe art of possible with the cloud
One thing I try to do in my role with Microsoft is to get clients to think of possible use cases for building solutions in the Azure cloud. To set off light bulbs in their heads. Sometimes this is...
View ArticleCreating OR Filters With Cube Functions For Power Pivot And Analysis Services...
The Excel Cube Functions are incredibly powerful, and I’m still amazed at the kind of problems they can solve. This post describes how they can be used to build a report with a complex OR filter using...
View ArticleJoining Fortified Data
Nearly two years ago, I began a new phase in my career when I stepped into the world of consulting. I’d done some consulting-type work through my previous job, which prepared me somewhat for the...
View ArticleSQL SERVER – How to Increase the SSMS Grid Font Size?
SQL Server Management Studio (SSMS) is part of SQL DBAs life. I use it while doing the presentation. If you are sitting in a big room like below, then the guy sitting in the last row may not be able to...
View ArticleIntroduction to SQL Server Data Modification Statements
In this article we’ll discover data modification statements used to modify data in SQL server using the INSERT, UPDATE, DELETE, and MERGE statement.The SELECT, INSERT, UPDATE, DELETE, and MERGE...
View ArticleRecommended reading from mrdenny for September 9, 2016
This week I’ve found some great things for you to read. These are a few of my favorites that I’ve found this week.Presidential Policy Directive — United States Cyber Incident CoordinationSQL Saturday...
View ArticleDatabase Dropped
What do you do when a developer comes to you and asks, “Where did the database go? The database was there one minute, and the next it was not.” Only one thing could be worse than the feeling of...
View ArticleSQL SERVER – Setup Screen Not Launching While Updating a Patch
This is one of the client contacts where I realized the importance of looking at right log file. The client said that he double clicks the.exe, a window flash by and disappears. It looked like...
View ArticleHow to Hide Stored Procedure’s Code? – WITH ENCRYPTION – Interview Question...
Question: How to Hide Stored Procedure’s Code so anyone with access to stored procedure cannot see it?Answer: WITH ENCRYPTION.This is one of the very popular question, I often hear. Today I decided...
View ArticlePowerShell Snippet #7: Retrieve SQL Server Licence Key
Copied from somewhere else on the internet, this PowerShell script will return the product key used for a SQL instance Install. Super useful when changing licenses on temporary VM’s I spin up and play...
View ArticleMySQL – Fix Error – WordPress Database Error Duplicate Entry for key PRIMARY...
As many of you know that this blog runs on WordPress and under the hood of WordPress there is a MySQL database. MySQL database is quite good and is able to hold massive traffic this blog receives every...
View Article#0385 – SQL Server – Query Development and NULL values
To ensure predictable system behaviour, ensure system design standardizes handling of NULL values in T-SQL JOIN predicates properly.
View ArticleConverting SQL Agent Job Duration to TimeSpan using PowerShell
When you look in msdb for the SQL Agent Job duration you will find that it is an int.This is also the same when you look at Get-SQLAgentJobHistory from the sqlserver module. (You can get this by...
View ArticleNon-Clustered Indexes in SQL Server
In the last post of this blog series, I discussed what a clustered index is and how to choose an ideal clustered index key. In this post, I will describe the non-clustered index and offer design tips...
View ArticleSQL Server Operations: Monitoring Disk Space with WMI and OLE Automation Objects
AbstractThis article talks about various SQL methods to fetch the disk usage details and use of T-SQL in conjunction with invoking OLE automation procedures and WMI class libraries using SQL Windows...
View ArticleSQL SERVER – Columnstore Index Cannot be Created When Computed Columns Exist
Explorations working with SQL Server never stop and I get an opportunity to learn something every other day. Today I thought of bringing pout some learning that happened to me by accident. As I was not...
View Article