SQLServerCentral - www.sqlservercentral.com

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

Featured Contents

The Voice of the DBA

More SQL Server Updates

This was a busy week for updates. I finished adding new builds to the build lists for 2017, 2016, and 2014, the first time I've done all three platforms on the same day. To be fair, two updates were on the 19th and one on the 20th, but that's pretty close to the same day. In the past I've had updates for different versions during different months.

That will not be the case in the future. SQL Server 2017 is on the CU model where we get monthly updates to the product. No more service packs for this version. If you hadn't heard that, be ready for the new servicing model that consists of just the monthly updates. I wasn't sure if I liked this at first, but I do appreciate that we don't get confused with trying to determine which CU1 is needed as there were different patches for RTM, SP1, SP2, etc. Now I've gotten used to expecting an update each month and applying them after a few days. So far, Microsoft has mostly been sticking to monthly releases, though the December release got delayed into January. With holidays, that's expected.

This week also saw the update of SSMS to v 17.6. You can freely use this version and download the full install or just the update package if you are running 17.x. We are seeing updates on a fairly regular basis to the tool, every couple of months. I'm hoping we continue to see more fixes and improvements aside from new functionality as SSMS has been neglected for too long. I don't know how stable this version is, but 17.4 was on my machines for a long time without an ill effects, and I think this seems fine for now.

Updates have always been a part of software, but often they are fairly rare, with interruptions occurring just a few times a year. That's changing. Redgate releases software every week, with almost every product updating once or twice a month. For someone that uses relatively few pieces of software, all of a sudden it seems like I have a regular set of tools to update across my SQL Server development platform between SQL Server, SSMS, VS, Redgate tools and more.

That's good, as I get fixes and increased functionality, but across a set of tools, I might find myself updating something every day. While the software often updates itself if I click OK, I have to make a decision and the process is disruptive and time consuming, especially when I run into required updates, which happens more than I'd like. I like the idea of DevOps, but one of the unintended consequences is that if everyone does it, there are a lot of changes and updates for users to deal with.

I don't have a solution, but I do find myself delaying updates more and more, often moving to only take every 3 or 4 updates. Maybe if everyone had an easy way to apply patches with PoSh across systems, or smoother built-in mechanisms I'd feel differently, but for now I probably click "skip" more often than "apply".

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.7MB) 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 Monitor

Don’t just fix SQL Server problems, prevent them from happening

SQL Monitor helps teams looking after SQL Server be more proactive. Not only does SQL Monitor alert you to current issues, it gives you the information you need to stop them happening in the future. Download SQL Monitor now and get a 14 day free trial

SQL Prompt

Become a more efficient SQL developer with SQL Prompt

Learn how to write SQL faster and more efficiently with these exclusive short videos from Data Platform MVPs and SQL Server experts. With SQL Prompt you can strip out the repetition of coding and write SQL 50% faster. Check out the tips

Featured Contents

 

The DefaultBufferMaxRows and DefaultBufferSize Properties in SSIS

SPT from SQLServerCentral.com

This article shows how DefaultBufferMaxRows and DefaultBufferSize properties can be used to improve dataflow task performance. More »


 

How to Get a Random Row from a Large Table

Additional Articles from Brent Ozar Unlimited Blog

Brent Ozar takes a look at four different ways to get a random row from a large SQL Server table. More »


 

5 Minutes with Fritchey

For quick information on various aspects of the Microsoft Data Platform and Redgate software, look no further than Grant Fritchey's Youtube channel. In addition to all the technical content, he also editorializes on various aspects of data and all things IT. More »


 

Registration is now open for Redgate's SQL Privacy Summit

The SQL Privacy Summit takes place on May 18, in London, and is an exclusive conference for senior IT data managers, responsible for data privacy and protection of SQL Server databases. You'll learn how Redgate's solutions help to ensure the ongoing protection of personally identifiable information (PII) in SQL Server, so that you can protect your business and comply with data privacy regulations such as the GDPR. More »


 

From the SQLServerCentral Blogs - Data experiments with salary survey – I

Mala Mahadevan from SQLServerCentral Blogs

As someone who just crossed three decades of working in technology – I have a sudden renewed interest in understanding how... More »


 

From the SQLServerCentral Blogs - Getting Started With R In SQL Server 2017

MarlonRibunal from SQLServerCentral Blogs

Prior to SQL Server 2016, running R on Microsoft platform required an installation of the R Language and its environment... More »

Question of the Day

Today's Question (by Steve Jones):

Which counters do you capture on your on-premises SQL instance to help you estimate your DTU usage in Azure SQL Database?

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 in this category: Azure.

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 data in a text file that looks like this. All spaces are single spaces.

 GameDate Visitor Home VisitorScore HomeScore 20180315 Oklahoma URI 78 53 20180315 WrightState Tennessee 47 73 20180315 NC-Greensboro Gonzaga 64 68 20180315 Pennsylvania Kansas 60 76 20180315 Iona Duke 67 89 

If I want to load this into R as a set of fixed width data, what should I do? Assume the values in the widths parameter as correct.

Answer: read.fwf(file="ncaa2018.txt", widths= c(8,15,15,17,9), skip=1)

Explanation:

The read.fwf() function is used to read fixed width files. However, the header row needs to be separated with some separater that can be used to determine the values. A space will not work. In this case, of the options, we need to skip the header row and read the data. We can then use colnames() or names() to set the headers.

Ref: read.fwf - 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

Upgrade of SQL Server from 2014 to 2017. - Hi All, I have a plan in place for a up of our OLTP database from 2014 to 2017.  It...

Changing collation with docker - Hello everybody. I'm new with SQL Server administration and just start learning some of it concepts and characteristics.  I'm playing with...


SQL Server 2017 : SQL Server 2017 - Development

Why aren't formatting tools working for me in SSMS 2017? - I'm a long time Data Developer and have been using SSMS quite heavily since 2005. I've never had an issue...


SQL Server 2016 : SQL Server 2016 - Administration

AlwaysOn Availability Group - I have always-on availability group on two nodes cluster with read intent routing. When I stop availability group role in WSFC at...


SQL Server 2014 : Administration - SQL Server 2014

Linked Server to MS Access confirms connection succcess, but errors out on expanding catalog - Title says it all really. I've included the basic script, attached is the extended properties and extended results of sp_configure. Any...


SQL Server 2014 : Development - SQL Server 2014

get date by rank - I have  results from my query account  value rank  fixdate             payabledate 22           100    1    01/01/2018 22            200   2      01/01/2018 53           80     1      &nbsp

Managing large table in SQL Server 2014 - Hi Guys, I have a large table that has around 11 million rows and is growing by about 1 million rows...


SQL Server 2012 : SQL Server 2012 - T-SQL

Cursor Update issue - Hi guys i try to update 400 rows with cursor and when i try it i get this error  Msg 16929,...

Preparation of entry list according to subject - Hi, According to the purpose of the output, the output of the last entry on the output date as LIFO IF...


SQL Server 2008 : SQL Server 2008 - General

Rebuilding Indexes very often is good? - Hi Friends, I was about to work on the production server all day last week. I was doing ETL process. Every...

List All Permissions a User Has in SQL Server - Hi, My requirement is to create a user and grant select, Insert, update and delete permissions on all tables in a...

DBase DBF files import, but having trouble with DBV Memo files - Hi guys, I am trying to convert an old Dbase application to .NET / MS SQL. I had no problems getting a linked...


SQL Server 2008 : T-SQL (SS2K8)

I am wondering if this is the best solution for my issue - so I have an account string I need to separate for interfacing to another third party system.  I just learned...


SQL Server 2008 : SQL Server 2008 Administration

Is there any query available for scripting out all linked servers ? - Hi All, We are migrating SQL 2008 instances to SQL 2014. Looking for help regarding Linked Servers. Is there a way to...


Data Warehousing : Integration Services

SSISDB in SQL 2016 - Team,  I'm trying to figure out if I can import packages in SSISDB catalogue and run bat script  Is this still possible...


SQLServerCentral.com : Articles Requested

Mathematics/Algorithms in SQL - All, I am looking for some article which explain what are all the mathematics concepts and algorithms used in SQL.

Bending strings - Based on this, which is an interesting problem: http://www.sqlservercentral.com/Forums/Topic1625170-2799-1.aspx Show how to move rows to a delimited string and then summarize.


SQL Server 2005 : Backups

Howto: Backup from remote server and store file on local drive? - Hi everyone, I have granted to access and backup database of remote server on local network(LAN). I want to backup...


SQL Server 2005 : Business Intelligence

Anything out there better than SSRS - Hi All Beginning to look around for other BI tools. Don't have a vast amount of knowledge in this area, but...


Career : Events

The SQL Saturday Thread - As popular as SQL Saturday is, I'm surprised that nobody created a thread dedicated to SQL Saturday, so I created...

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