SQLServerCentral - www.sqlservercentral.com

A community of more than 1,600,000 database professionals and growing

Featured Contents

The Voice of the DBA

Pride in Azure SQL Database

There's a series on Azure SQL Database from Jovan Popovic on the SQL Server Database Engine Blog. Jovan has written posts on why database management is easier, the scalability of the platform, and a great one that claims the database engine can't die. I don't know that I quite believe that, especially as the guarentee is 99.99% availability. I'd expect 100% if you really think the engine can't die on you. In any case, Jovan clearly has some pride in his work on Azure SQL Database.

What I think is interesting in the post on the ever living engine is this sentence: "Azure automatically handles patching, backups, replication, failure detection, underlying potential hardware, software or network failures, deploying bug fixes, failovers, database upgrades and other maintenance tasks." This notes that all of these operations are completed in less than 0.01% of the database life, hence the 99.99% guarentee. While that's not 0, it's close, and more importantly, this is something that to which DBAs ought to pay attention.

These are often the tasks that many organizations will hire someone to complete. These tasks are becoming less of a time sink as organizations move to infrastructure as code or cloud computing, though they don't disappear entirely. However, these tasks are mundane, tedious ones in many cases that should be solved once and then deployed easily to multiple instances.

Azure SQL Database and SQL Server share the same code base. Most features get built and tested in Azure and then will get merged into a release for a CU or new version of SQL Server.  This means that as Microsoft learns how to better build these features, they will migrate them to our boxed SQL Server versions. With success stories in Azure and strong marketing, I'd bet that more and more management will be questioning whether they need more people, or even any people to handle these tasks in the latest versions of SQL Server.

Don't panic if you're a DBA working on SQL Server 2008/RS, 2012, 2014 or other older versions. Those editions still require your time and things will change slowly for plenty of companies. They won't want to upgrade too many instances at once, especially when there are potential vendor costs as well. You will have a job for some time, and I don't think that lots of those older instances are disappearing anytime soon.

That also shouldn't mean that you rest on your existing skills and don't learn anything new. You ought to be sure you are beginning to learn more about PowerShell, Azure, automatic indexing, and more. Improve your skills and potentially give you more career options. Even if you don't change jobs, you'll enjoy the learning.

Steve Jones from SQLServerCentral.com

Join the debate, and respond to today's editorial on the forums


The Voice of the DBA Podcast

Listen to the MP3 Audio ( 4.2MB) podcast or subscribe to the feed at iTunes and Libsyn. feed

The Voice of the DBA podcast features music by Everyday Jones. No relation, but I stumbled on to them and really like the music.

ADVERTISEMENT
SQL Prompt

Write, format, analyze, and refactor SQL fast with SQL Prompt

Writing SQL is 50% faster with SQL Prompt. Your SQL code can be formatted just the way you like it, you can create and share snippets with your team, and with code analysis you get suggestions to improve your SQL as you type. Download your free trial

ReadyRoll

Database migrations inside Visual Studio

Feeling the pain of managing and deploying database changes manually? Redgate ReadyRoll creates SQL migration scripts you can use to version control, build and release, and automate deployments. Try it free

Featured Contents

 

Friday the 13th

Jan Van der Eecken from SQLServerCentral.com

Looking forward to the next few ones of these scary days? More »


 

So what is data mapping and why is it the key to GDPR compliance?

The GDPR brings new responsibilities for organizations which need to store and process personal data. Plan for it in the right way, however, and the journey to compliance will be a lot easier. More »


 

Parking Garages And Predicates

Additional Articles from Brent Ozar Unlimited Blog

You lost your car in a big parking lot. Erik Darling explains how this is just like an index scan. More »


 

From the SQLServerCentral Blogs - Is It Possible To Conditionally Index JSON Data?

Bert Wagner from SQLServerCentral Blogs

Check out this week’s episode on YouTube. Recently I received a great question from an attendee to one of my sessions... More »


 

From the SQLServerCentral Blogs - Automating Automatic Indexing in Azure SQL Database

Grant Fritchey from SQLServerCentral Blogs

I’ve been in love with the concept of a database as a service ever since I first laid eyes on... More »

Question of the Day

Today's Question (by Steve Jones):

I have built an event session in Extended Events (XE) called MyEventSession. I set this to startup when the SQL Server instance starts. It's currently running with both a file and ring buffer targets. I decide to drop this session, buit don't want to lose data from the file target. What do I need to do?

Think you know the answer? Click here, and find out if you are right.


We keep track of your score to give you bragging rights against your peers.
This question is worth 1 point.

We'd love to give you credit for your own question and answer.
To submit a QOTD, simply log in to the Contribution Center.

ADVERTISEMENT

Expert T-SQL Window Functions in SQL Server

Expert T-SQL Window Functions in SQL Server takes you from any level of knowledge of windowing functions and turns you into an expert who can use these powerful functions to solve many T-SQL queries. Replace slow cursors and self-joins with queries that are easy to write and fantastically better performing, all through the magic of window functions. Get your copy from Amazon today.

Yesterday's Question of the Day

Yesterday's Question (by Steve Jones):

I have this code:

 DECLARE @s VARCHAR(100) = 'the quick brown fox jumped over the lazy dog' , @start INT = 5 , @len INT = 3; SELECT STUFF(@s, @start, @len, 'xx') 

What

Answer: the xxck brown fox jumped over the lazy dog

Explanation:

The STUFF command will look for a part of a string. You can specify the starting location and then the length that is deleted. Optionally, the last (4th) parameter is used to insert data. In this case, we start at position 5. This is the "q". We remove 3 characters (qui) and then insert the "xx".

Ref: STUFF - click here


» Discuss this question and answer on the forums

Database Pros Who Need Your Help

Here's a few of the new posts today on the forums. To see more, visit the forums.

SQL Server 2017 : SQL Server 2017 - Administration

Has anyone installed SQL Server on Ubuntu 18.04? - Banging my head on this one as I cannot find a way to install SQL Server on one of my...

To use PowerBI in-premisses do I need 2017? or can I use 2016? - Hello, I was told in my company (one of the IT Architects that work with me)  that my team will have...


SQL Server 2017 : SQL Server 2017 - Development

Normalization and Third Normal Form - Hello. I was watching a video that covered Normalization. It explained that a database is in third normal form when...

Inner Joins - Hello ! I was just wondering is there some sort of methodology that you would use with T-SQL inner joins when...

To CASCADE DELETE or not? - There is a healthy debate going on between a couple teams in my area regarding the use of the cascade...


SQL Server 2016 : SQL Server 2016 - Development and T-SQL

Table Variable Parameters, Stored Procedures and Performance - Hi all, I have just started a new gig as a contractor, and the DB architect here insists that we...

Running total with a twist - Hi! I'm trying to optimize a cursor-solution for following problem: A customer can have a number of orders with a total value...

Date Upto 28 days ahead, no weekends - Hi All, I have a statement returning data from today up to 28 days ahead, but it is including weekends. I...


SQL Server 2014 : Administration - SQL Server 2014

Backup into shared folder failed - Cannot open backup device - I'm trying to make a backup from SQL Server into a shared folder. Although I am able to manually go...


SQL Server 2012 : SQL 2012 - General

Users are experiencing slow connections trying to log into the application - Dear Everyone I have a custom build application running on .Net and its trying to access the company's SQL Server...


SQL Server 2008 : T-SQL (SS2K8)

Number of Days between two Day Names - I have a table with a Start Day and a End Day Column ID StartDay EndDay 1 Monday Friday 2 Tuesday Wednesday 3 Friday...

This email has been sent to newsletter@newslettercollector.com. To be removed from this list, please click here.
If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com.
This newsletter was sent to you because you signed up at SQLServerCentral.com.
Feel free to forward this to any colleagues that you think might be interested.
If you have received this email from a colleague, you can register to receive it here.
This transmission is ©2018 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
Contact: webmaster@sqlservercentral.com