SQLServerCentral - www.sqlservercentral.com

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

Featured Contents

The Voice of the DBA

Is the old stuff worth learning?

Today we have a guest editorial as Steve is on vacation.

Recently, I got in a discussion with Jeff Moden in the forums about old stuff and it being worth learning. You can see the discussion here: https://www.sqlservercentral.com/Forums/FindPost1905844.aspx. The discussion came out of how people are always suggesting that we need to learn new things to keep up with the latest technology and not fall behind. His main point revolved around T-SQL skills or the lack there of for a number of database professionals. When database professionals don’t have solid T-SQL skills they can get into trouble quickly if their tools fail or if they start a new job that doesn’t have the tools that they had previously used.

I do agree with this point and think it is a really good idea for all database professionals to have reasonable T-SQL skills. If you do a search on the www.sqlservercentral.com site on “stairway t-sql,” you will find thousands of articles. I am sure someone could put together the top 20 stairway T-SQL articles that every database professional should read.

Jeff brought up how people put a lot of time into things like SSIS, Web Methods, Business Objects. Yet, what actually needs to be done is simple enough, it should probably just be done in a stored procedure or two instead of a complicated SSIS workflow. Also, sometimes people use complicated PowerShell scripts when perhaps a simple DOS (command prompt) batch file would do.

I guess the interesting point of discussion revolved around; you need to have at least some knowledge of the old way of doing things to even determine if the new way is better. Even though I have used and still use some batch files, I still like to see if what I need to do can be done better with PowerShell. That doesn’t mean I am going to rip everything out and replace it with PowerShell, but as things come up if it looks like PowerShell would do a better job, I give it a try.

So what do you think? For the young people out there that have never heard of DOS and have never seen a batch file, would you consider a batch file as an option if it was a better solution? For you people out there that are very familiar with DOS and batch files, would you consider using something like PowerShell if it was a better solution? I know it is hard to change and to consider things that are unfamiliar to you, but aren’t we just trying to figure out the best solution for the problems we are facing?

In the end I think some of the old stuff is worth learning. Even if it only helps you know that you are using the correct solution for your problem. Share what you think? Is the old stuff worth learning or not?

Ben Kubicek from SQLServerCentral.com

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

ADVERTISEMENT
SQL Prompt

Could your SQL coding be more efficient?

Data Platform MVPs and SQL Server experts share their tips on how to standardize formatting whilst stripping out the repetition of coding with SQL Prompt. Over these 20 short videos we will help you write better, shareable SQL faster. Check out the tips

SQL Source Control

How to track every change to your SQL Server database

See who’s changing your database, alongside affected objects, date, time, and reason for the change with SQL Source Control. Get a full change history in your source control system. Learn more

Featured Contents

 

Azure DWH part 22: Dynamic Management Views

Daniel Calbimonte from SQLServerCentral.com

The DMV are very effective and important to administer ASDWH. In this article we will show some important DMVs. More »


 

Query Plan Oddities: Two Identical Missing Indexes

Additional Articles from Brent Ozar Unlimited Blog

Brent demos a single query plan that asks for 2 identical indexes on the same table. More »


 

From the SQLServerCentral Blogs - Execution Plan Metrics and Units of Measure

Grant Fritchey from SQLServerCentral Blogs

Have you ever looked at the properties inside an execution plan and wondered what the units of measure were? I... More »


 

From the SQLServerCentral Blogs - PaaS and the ever changing role of the DBA

Daniel Janik from SQLServerCentral Blogs

I’ve never been a fan of a GUI for DBA work. Give me a hand crafted script or a list... More »

Question of the Day

Today's Question (by Steve Jones):

It's the second day of Christmas week and fun questions (with one less point). The question today is who said this?

"One can never have enough socks. Another Christmas has come and gone and I didn't get a single pair. People will insist on giving me books."

The answer comes from this data set. What's the order by?

 SELECT TOP 1 answer = SomeName FROM ( VALUES ('Ebenezer Scrooge', 'A Christmas Carol', 'Old', 'Fiction', 'London'), ('Dumbledore', 'Harry Potter and the Sorcerer''s Stone', 'Very Old', 'Fantasy', 'Hogwarts'), ('Frosty', 'Frosty The Snowman', 'Infant', 'Animated', 'A small town'), ('Buddy', 'Elf', 'Teenage', 'Comedy', 'New York') ) AS a (SomeName, Movie, Age, Genre, Locale) ORDER BY 

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 6 points in this category: humor.

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

Pro Power BI Desktop

This book shows how to deliver eye-catching Business Intelligence with Microsoft Power BI Desktop. You can now take data from virtually any source and use it to produce stunning dashboards and compelling reports that will seize your audience’s attention. Slice and dice the data with remarkable ease then add metrics and KPIs to project the insights that create your competitive advantage.

Yesterday's Question of the Day

Yesterday's Question (by Steve Jones):

It's the start of Christmas week and fun questions. The question today is who said this?

"We elves try to stick to the four main food groups: candy, candy canes, candy corns and syrup."

The answer comes from this data set. What's the order by?

 SELECT TOP 1 answer = SomeName FROM ( VALUES ('Ebenezer Scrooge', 'A Christmas Carol', 'Old', 'Fiction', 'London'), ('Dumbledore', 'Harry Potter and the Sorcerer''s Stone', 'Very Old', 'Fantasy', 'Hogwarts'), ('Frosty', 'Frosty The Snowman', 'Infant', 'Animated', 'A small town'), ('Buddy', 'Elf', 'Teenage', 'Comedy', 'New York') ) AS a (SomeName, Movie, Age, Genre, Locale) ORDER BY 

Answer: locale desc

Explanation:

The correct answer is Buddy. In the data set, locale desc will return Buddy.

Merry Christmas and Happy Holidays!


» 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

How many workers can I use and how many are active? - Hi folks, we are trying to troubleshoot a problem that seems to be the result of too many threads being allocated to...

In-place upgrade to SQL server 2017 - I am trying to do a in-place upgrade of our test SQL server from 2014 to 2017. After in-place upgrade, there are...

Which OS for SQL Server 2017 Standard? (new data warehouse) - My company will be setting up a new data warehouse server using SQL Server 2017 Standard. We're a mixed shop,...

Antivirus Exceptions - Yes or No? - Hi Folks, I heard an interesting conversation today about whether or not Antivirus Scanning exceptions (in this case provided by McAfee)...


SQL Server 2017 : SQL Server 2017 - Development

Combine 3 SQL queries - Hello, I want the combine the following queries  Select Complains. as NewComplains,Complains.ID AS ComplainID from Complains where Complains.ReadStatus = 'false' Select Suggestions. as...


SQL Server 2016 : SQL Server 2016 - Administration

Transactional replication - which articles caused the failure - Hi I have a Push Transactional replication process. I use the GUI to add multiple stored procs as articles. But during...


SQL Server 2014 : Administration - SQL Server 2014

Unregistered Component Error in SSIS - I can't create any Data Flow Task. Once I create (tested and working) Connection (it doesn't matter if it is...


SQL Server 2014 : Development - SQL Server 2014

Overriding error message sent back - I have a table with a constraint on 2 columns (Which are keys into 2 other tables) and I want...


SQL Server 2012 : SQL 2012 - General

Choose: SQL 2012 Enterprise or SQL 2016 Standard - That's the choice I've been given. 1 month into work at a small business with 1 well used 2008 r2...


SQL Server 2008 : T-SQL (SS2K8)

Rebuilding a table - I have a table where I need to run a delete and then an insert into... The data from the source...


SQLServerCentral.com : SQLServerCentral.com Website Issues

Please get rid of this constant, useless job alert!!!!!!! - I've been getting this email from the SQL Server Central website's daily for at least 2 months, notifying me of...

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 ©2017 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
Contact: webmaster@sqlservercentral.com