Sql-Server

SDU Tools: March 2017 update for SDU Tools–More free tools for SQL Server developers and DBAs

SDU Tools: March 2017 update for SDU Tools–More free tools for SQL Server developers and DBAs

Hi Folks,

As promised, tonight we’re releasing the monthly update to SDU Tools, our free toolset for SQL Server developers and DBAs. A download link will be sent to all registered subscribers.

First, the new tools:

AnalyzeTableColumns - allows for quick profiling of a table. Shows the column metadata, and shows a sample of distinct values from each column. We suspect this will be the favorite this month. You can see it here: YouTube Video

2017-03-25

SQL: Replacing all tabs in your SSMS query window with spaces

SQL: Replacing all tabs in your SSMS query window with spaces

I know that there is an eternal tabs vs spaces debate that goes on in development teams. Currently I’m in the spaces team for SQL queries, but I completely understand the rationale for using tabs instead. I just find that some of the tooling I’m using doesn’t play nicely with tabs.

So, it’s painful when I receive a script file from someone and it’s full of tabs. Even worse when there are a bunch of tabs at weird tab positions. And I start to edit it, and things jump around, and I think @#$@$!@#$@#$ tabs !

2017-02-28

SDU Tools: Introducing SDU Tools: Free T-SQL Tools for DBAs and Developers

SDU Tools: Introducing SDU Tools: Free T-SQL Tools for DBAs and Developers

I’ve worked with T-SQL for a very long time, and over the years I’ve lost count of how many tools I’ve found the need to create to help me in my work.

They have been in a variety of script folders, etc. and whenever I go to use them now, I often have to decide which is the best version of a particular tool, as they’ve also been refined over time.

2017-02-05

SQL Down Under show 70–Aaron Bertrand–SQL Server 2016 SP1, SQL Server on Linux, SentryOne Plan Explorer

SQL Down Under show 70–Aaron Bertrand–SQL Server 2016 SP1, SQL Server on Linux, SentryOne Plan Explorer

Hi Folks,

I got to record another podcast last week and it’s published now: SQL Down Under Podcast

The guest this time was Data Platform MVP Aaron Bertrand. We initially planned to mostly just discuss SentryOne Plan Explorer because all the Pro features were now available in the free edition, which is an awesome situation. But the release of SQL Server 2016 SP1 came the week before, and as both Aaron and I were deeply invested in the changes that occurred there, we spent time discussing it, and also SQL Server on Linux because the public preview for that was also announced.

2016-11-26

SQL: SQL Server Management Studio and Usability

SQL: SQL Server Management Studio and Usability

SQL Server Management Studio has moved into the Visual Studio 2015 shell. In general, that’s a really good thing. There are many built-in benefits that come from using that shell. I’ve been showing people many of these. One that surprises many people is the ability to change the font in Object Explorer. No longer do you need to squint at the tiny writing in Object Explorer. You too can change the text in Object Explorer to a readable size (particularly on high-resolution monitors):

2016-11-26

SQL Down Under Show 69: with guest Data Platform MVP Glenn Berry

SQL Down Under Show 69: with guest Data Platform MVP Glenn Berry

Hi Folks,

The next SQL Down Under show is now online. In it, Glenn Berry discusses hardware and hardware-related performance issues for SQL Server.

You’ll find the show here: SQL Down Under Podcast

Enjoy !

More on Glenn:

Glenn Berry is a Principal Consultant with SQLskills. He has worked as a SQL Server professional for many years in a variety of roles, most recently as Database Architect for Avalara in Parker, CO.

2016-10-16

FIX: The unattended execution account cannot be set at this time

FIX: The unattended execution account cannot be set at this time

I ran into this one today and it’s the in the category of things that I’m likely to run into again one day so it’s worth recording it here.

I was trying to configure an unattended execution account for SQL Server Reporting Services 2016 and was getting the above error.

The problem was that even though the machine is just in a workgroup, SQL Server Reporting Services Configuration Manager needs a domain or machine specified for the user name.

2016-09-01

SQL: SQL Server index updates vs PostgreSQL index updates

SQL: SQL Server index updates vs PostgreSQL index updates

The link below is to quite a fascinating article that on the surface is about why Uber moved to MySQL from PostgreSQL.

https://use-the-index-luke.com/blog/2016-07-29/on-ubers-choice-of-databases

What it really is about is a limitation in how PostgreSQL indexes are updated. They consider it a severe limitation.

With SQL Server (and MySQL), if you update a few columns in a row, only the indexes that have that column are updated. In PostgreSQL, all indexes still need to be updated. I understand why they’ve done that but I can see why users might not want that behavior.

2016-08-04

SQL: SQL Server 2016 Polybase Services stuck in Change Pending state

SQL: SQL Server 2016 Polybase Services stuck in Change Pending state

I’ve been using the Polybase services in SQL Server 2016 all throughout the pre-release period without any issue.

When I tried using them in the GA (Generally Availability) release, I could never get the two Polybase services to start. They were always stuck in a “Change Pending” state. Trying to start them in SQL Server Configuration Manager basically made SSCM look like it was hung.

Trying to use the Polybase services to create an external data source returned:

2016-07-06

SQL: Auto-Injection of Enterprise Edition Features

SQL: Auto-Injection of Enterprise Edition Features

There’s an interesting scenario that’s come up in creating some new samples for SQL Server 2016.

I know that for many, many years people have asked for a way to limit developer edition to only use standard edition features, or at least to have a way to flag them. I’ve often thought that I’d like a way to set a “target environment” and have the colorization change anything that I can’t use in standard to an obviously different color.

2016-06-03