All the headlines and interesting SQL Server information that we've collected over the past week, and sometimes even a few repeats if we think they fit. These headlines are gathered throughout the week and are posted in real time at the website. Check there for information throughout the week or enjoy this weekly summary of the SQL Server world. WebinarsDouble Win- Watch DeWitt and Help SQLSoldier's Loved Ones! - Brent Ozar (blog/@BrentO) is sponsoring a special webcast in a couple weeks, with an amazing presenter:https://www.brentozar.com/archive/2018/06/announcing-a-very-special-sqlfamily-webcast-with-dr-david-dewitt/The webcast (“SQL Query Optimization. Why ......(more) Extending DevOps to the database: release management - Microsoft MVP Steve Jones and Redgate’s Arneh Eskandari show how Redgate’s Database DevOps solution works to improve your database development and deployment processes. You'll see a demo of tools from Redgate's SQL Toolbelt and see how they plug into your usual technology stack. There will also be plenty of time to ask Steve and Arneh questions....(more) Vendors/3rd Party ProductsSQL Prompt Hidden Gems: The SSMS Results Pane - Louis Davidson explores the hidden treasures within SQL Prompt right-click context menu when working in the SSMS grid format results pane....(more) Finding code smells using SQL Prompt: Asterisk in SELECT list - An article from Phil Factor on finding code smells using SQL Prompt: Asterisk in SELECT list ...(more) T-SQLQuick and dirty: How to right-align numeric columns in SSMS - Here are 50 random numbers: --- 50 random numbers WITH cte AS ( SELECT 0 AS i, 100000.*POWER(RAND(CHECKSUM(NEWID())), 3) AS n UNION ALL SELECT i+1, 100000.*POWER(RAND(CHECKSUM(NEWID())), 3) FROM cte WHERE i(more) Tech NewsAmazon’s Clever Machines Are Moving From the Warehouse to Headquarters - The people who command six-figure salaries to negotiate multimillion-dollar deals with major brands are being replaced by software that predicts what shoppers want and how much to charge for it. Amazon’s algorithms, refined through years of monitoring ......(more) Net Neutrality Rules Expire as Backers Turn to Congress, Courts - The Obama-era net neutrality regulations that barred broadband providers from slowing or blocking internet traffic expired Monday, a major milestone in a debate that continues in the courts and Congress as Democrats press to restore the rules. ...(more) Rackspace Launches Data Center Colocation Service - Pitches space, power, network in 10 locations as “bridge” to cloud. Rackspace has launched a data center colocation business, offering space, power, and network connectivity for customers’ own hardware in 10 locations around the world. ...(more) SQL Server SecurityHow to get started with Always Encrypted for Beginners Part 4: Change is Coming - A few weeks ago, I wrote Part 1, 2 and 3 of this series, which was a beginner’s guide to Always Encrypted. In part 4, I am going to talk about the changes that are coming in vNext of SQL Server. As I discussed in part 3 there are many roads blocks the can stop the implementation of Always Encrypted (AE). In the current available versions of SQL Server 2016 and 2017, along with Azure SQL Database, the cost of using AE was way too high for many companies....(more) Security news and thoughtsIf You’re A Facebook User, You’re Also a Research Subject - The company’s long been conflicted about how to work with social scientists, and now runs several programs, each reflecting the contorted relationship Facebook has with external scrutiny. ...(more) Detecting Data Breaches - Data breaches make the news on an almost daily basis. There is no turning back, however, as we are firmly entrenched in this digital way of life. Brian Kelley discusses some of the reasons data breaches occur and what we can do to prevent them....(more) R LanguageDetecting unconscious bias in models, with R - There's growing awareness that the data we collect, and in particular the variables we include as factors in our predictive models, can lead to unwanted bias in outcomes: from loan applications, to law enforcement, and in many other areas. In some instances, ......(more) PowerShellPowerShell Script Analyzer 1.17.1 Released! - Summary: A new version of PSScriptAnalyzer is now available with many new features, rules, fixes and improvements. You might remember me from my previous cross-platform remoting blog post, but just to introduce myself: I am Christoph Bergmeister, a full ......(more) PowerPivot/PowerQuery/PowerBILine Breaks And Auto-Indent In The Power BI DAX Formula Bar - The other day I discovered something new (at least to me) while writing the DAX for a measure in Power BI Desktop: when you insert a new line in your DAX expression using SHIFT-ENTER it also auto-indents the code. I asked a few people if this was new ......(more) Power BI Tutorial | From Flat File To Data Model - In this Power BI Tutorial, Patrick looks at how to load data from a flat file to the data model. This could be a text, csv or excel file with a lot of columns. Don't just pull it into Power BI. Take time to structure your data in your data model. From ......(more) Power BI BlackJack, World Cup 2018 and Power BI updates… (June 11, 2018) - Fun with DAX – Blackjack Game (@philseamark) Follow the World Cup 2018 in Power BI (@CurbalEN) Subscribe others to email subscriptions in Power BI Power BI Desktop June Feature Summary Power BI Service and Mobile May Feature Summary BONUS ITEMS: Updating ......(more) Performance Tuning SQL ServerWhy aren’t you using Query Store? - Way back in 2016 I wrote a post trying to find out why people were not using Extended Events. See, I really like Extended Events, and I’d been presenting on the topic for several years, but I kept running into people who wouldn’t even try XE. There ......(more) Plan Metrics Without the Plan: Trace Flag 7412 - I place a lot of emphasis on capturing actual execution plans because of the runtime metrics, but with Trace Flag 7412, we don’t need the plan. This is great news, because capturing execution plans, even using extended events, is an expensive proposition. ...(more) NoSQLThe State of NoSQL Databases in 2018: Is NoSQL Usage No Longer Cool? - The buzz around NoSQL databases has quieted. Does that mean NoSQL usage is waning, or that NoSQL has become such a part of the IT landscape that we almost don't notice it anymore? ...(more) ETL/SSIS/ELTExecuting ssisUnit tests in MSTest framework - One of the drawbacks of ssisUnit is that it has only its own test runner. You can run the tests either using GUI or the console application, but the output is not that easy to parse and to present on the report. I’m used to working with Pester output ......(more) Run a PowerShell Script from SSIS - It can be confusing to know which tool in the SSIS toolbox to use when trying to execute a PowerShell script from within SSIS. The best task to use is an Execute Process Task. Under General you can give it a name and a description....(more) Using SSIS to Stage JSON in SQL Server Tables - Last month I started wrangling with JSON in SSIS and discussed how to download JSON files and store them as flat files. Now I want to move that data into staging tables in SQL Server. My general philosophy about staging tables is to move the data into ......(more) Database Design, Theory and DevelopmentForeign Keys Part 1: Understanding the Fundamentals - Note: This is the first part of a two-part re-write of several earlier posts, to bring them into line with McGoveran's formalization and re-interpretation of Codd's true RDM, which includes his own corrections, refinements and extensions[1]. For a more ......(more) Design Thinking Data Models - I seriously believe, and I also know from professional experiences that Design Thinking is the secret sauce for creating high quality Data Models. This sounds contra intuitive, so we will have to do ......(more) Data Privacy and GDPRInfographic: 55 Things You Need to Know About GDPR - The European Union’s General Data Protection Regulation (GDPR) went into effect last month, and ___ has created an infographic covering 55 things data handlers should know about GDPR. The infographic was created by Betipy. According to the company, “There ......(more) Welcome to the new world of curating data, not owning it - In this article Richard Macaskill explores how to more accurately classify, map, tag or catalog data in order to support automated behaviors, simplify decisions, and tell others how we are handling precious assets....(more) Big DataIncluding File Properties and Metadata in a U-SQL Script - When working on big data systems, it can be very helpful to include file properties and other metadata directly within the data results. Capturing data lineage can come in very handy, especially if reconciling or troubleshooting issues (for instance, ......(more) Azure SQL DatabaseMoving to Azure: A change in processes – TSQL Tuesday 103 - For this month’s t-sql Tuesday our host Bjoern Peters (b/t) wants us to describe our experiences with Azure SQL Database or Azure SQL Managed Instance. Well, unfortunately, although I am very excited about it, I don’t have access to Azure SQL Managed ......(more) Azure SQL Data Warehouse and Data LakeAzure Data Lake Analytics and U-SQL Spring 2018 Updates: Parquet support, small files, dynamic output, fast file sets, and much more! - Hello Azure Data Lake and U-SQL fans and followers. It is high time for the release notes for all the cool features we released over the winter as well as listing all the pending deprecation items and breaking changes. There was so much cool new stuff that it took me several weeks to write the release notes (on top of my day job!) that the next release will probably already be out by the time you read this! I promise that the June release notes will come sooner! :). Without further ado, here are the Spring 2018 Updates for Azure Data Lake U-SQL and Developer Tooling!...(more) Azure CosmosDBAzure Cosmos DB vs. SQL Server: Scalability Differences - Azure Cosmos DB introduces career- and technical-related questions for traditional DBAs; how it handles scalability, by scaling out rather than up, distinguishes it from SQL Server. ...(more) Understanding Cosmos DB - Cosmos DB is an awesome product that is mainly used for large-scale OLTP solutions. Any web, mobile, gaming, and IoT application that needs to handle massive amounts of data, reads, and writes at a globally distributed scale with near-real response ......(more) AI/Machine Learning/Cognitive ServicesGetting Back to the Basics: What is Machine Learning? - Click to learn more about author Seth Deland. Machine Learning seems to be the engineering industry’s latest buzzword – a technology with astonishing potential, yet one that many businesses struggle to understand, let alone embrace. Just last year, ......(more) Case Study: Artificial Intelligence Helps Bike Share Programs Get Smart - The North American Bikeshare Association (NABSA) reports that there were 50,000 bike share bicycles in the U.S. as of 2016, an increase of 30,000 bikes since 2012. Those bikes made 28 million trips in 2016, a 25 percent increase over 2015, and as of ......(more) Administration of SQL ServerSQL Server -Database Backup Report using PowerShell and T-SQL - In the previous articles, we discussed several ways of taking backup and testing the restore process to ensure the integrity of the backup file. In this article, we’re going to discuss the importance of the database backup reporting. This kind of reporting ......(more) File Growth Rate – The GUI Lies - If you are like me, you use the SSMS GUI for various things. Though, I tend to use scripts for the management of most things, I do check on the database growth rates of files using the GUI interface. While I was recently, doing a review of a client’s ......(more) Is that share using SMBv1? - Sharing is caring, unless the share is using SMBv1. In case you’ve missed it (though, if you’re a data professional or other IT pro, you must live under a rock if you’ve missed it), SMBv1 should never ever be used. Alas, some shares out there still exist ......(more) Two Types of Performance Counters - I had an issue where an instance of SQL Server was only showing the XTP (In Memory) performance counters. None of the other SQL Server counters were available, so I followed the procedure I’d written about previously. Once that was completed, I restarted ......(more) Changing the Collation of the Instance, the Databases, and All Columns in All User Databases: What Could Possibly Go Wrong? - Demystifying What “sqlservr -q” Actually Does (last updated on 2018-06-12) For various reasons, people sometimes find themselves in the unfortunate (and unenviable) situation of having an Instance of SQL Server configured with the wrong Collation. This ......(more) |