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. WebinarsExtending DevOps practices to SQL Server databases with ReadyRoll from Redgate - In this webinar from Microsoft MVP Steve Jones, and Redgate’s Arneh Eskandari, see how Redgate’s Database DevOps solution works to improve your database development and deployment processes. You'll see a demo of the following Redgate tools - ReadyRoll, DLM Automation and DLM Dashboard - and see how they plug into GIT. There will also be plenty of time to ask Steve and Arneh questions. ...(more) Virtualization and ContainersRunning Ubuntu Containers with Hyper-V Isolation on Windows - Canonical and Microsoft have teamed up to deliver the ability to run Ubuntu containers with Hyper-V Isolation on Windows 10 and Windows Servers....(more) Sneak peek #3: Windows Server, version 1709 for developers - Faster downloads, builds, and deployments with Nano Server container image, Linux containers, and more....(more) Vendors/3rd Party ProductsUnearthing Bad Deployments with SQL Monitor and Redgate’s Database DevOps Tools - Sudden performance issues in SQL Server can have many causes, ranging all the way from malfunctioning hardware, through to simple misconfiguration, or perhaps just end users doing things they shouldn’t. But one particularly common culprit is when deployments go wrong: I don’t know a single DBA who hasn’t been burned by a bad release....(more) SQL Prompt Tip: how to control when the suggestion box pops up - By default, SQL Prompt shows code auto-completion suggestions automatically, and continuously. Sometimes, as programmers, we need it to be a little less intrusive, especially when working through more intricate coding problems that required careful thought. Phil Factor explains the best way to set this up....(more) Redgate need your opinion - Have you tried or used SQL Prompt? Redgate is running some research on SQL Prompt pricing. Please help by filling in their short survey for the chance to win one of three licenses of SQL Prompt or a Redgate point-tool if your choice....(more) T-SQLHelp! My query is too fast! - Said no one ever. Well, maybe. I have had occasions where I needed a brief pause in the middle of a batch. For example, if I’m running a big delete I might create a loop and delete in batches. If I’m having to run this for a while on an active table I might want to put a pause in each loop for a second or two to allow other processes to get in and do whatever they need to do....(more) Remove SQL Junk (Brackets and Other Clutter) - "Above all else, show the data” says Edwarde Tufte, the data visualization expert who promotes a high data-ink ratio in data visualizations. We can apply that idea to SQL. ...(more) What does this little check box do? - Ever wander around SQL Server properties and wonder what these little check boxes turn on? I do, and I get very tempted to check them. Here is one of those tempting little boxes that seems pretty handy, Use query governor to prevent long running queries....(more) SSMS Shortcuts & Secrets – Live Webcast Edition (video) - This video covers shortcuts to manage and switch between sessions, tips and shortcuts for managing Intellisense, and a few stupid pet tricks. ...(more) Indexing for Windowing Functions: WHERE vs. OVER - Erik Darling describes a case where a customer was using Windowing functions over one group of columns to partition and order by, but the where clause was touching a totally different group of columns. The query plan wasn’t happy. Users weren’t happy....(more) Optional Parameters and Missing Index Requests - At one point or another in everyone’s SQL-querying career, they end up writing a query with optional parameters. It's well known that this leads to poor cardinality estimates, full scans, and more but what often gets overlooked is that queries constructed like this don’t register missing index requests....(more) Using native compilation to insert parent/child tables - Demonstrating various approaches when using native compilation to insert rows into parent/child tables....(more) How Unicode Homoglyphs Can Thwart Your Database Security - Bert Wagner explores how implicit unicode conversions can leave your data vulnerable....(more) Consuming hierarchical JSON documents in SQL Server using OpenJSON - Over the years, Phil was struck by the problems of reading and writing JSON documents with SQL Server. Now that SQL Server 2016 onwards has good JSON support, he thought that the articles would be forgotten. Not so, they continue to be popular, so he felt obliged to write about how you can use SQL Server's JSON support to speed the process up....(more) Tech News : General InterestThe Wrong Way to Clean Up the Internet - Having successfully fought several privacy battles, granting people the right to have themselves taken off Google search, and to have their records deleted from databases, it looks as if the European Union may soon want to regulate and license what you can watch on YouTube or other video content sites, and the audio-visual content you can publish. The impact of this would, of course, be felt way beyond Europe. Just as the GDPR affects anyone who is trading with an EU country, so the EUs plans to control video ‘channels’ are likely to affect the entire internet....(more) SQL Server Security and AuditingSo, What is GDPR and Why Should Database Administrators Care? - Yes, the boss needs to know about increased risks from incorrect data handling, but what should a DBA do, other than wait for new edicts from on high?...(more) Security news and thoughtsOn the Equifax Data Breach - Last Thursday, Equifax reported a data breach that affects 143 million US customers, about 44% of the population. Many sites posted guides to protecting yourself now that it's happened. But if you want to prevent this kind of thing from happening again, your only solution is government regulation (as unlikely as that may be at the moment)....(more) Face ID, Touch ID, No ID, PINs and Pragmatic Security - Less than 1% of the Dropbox user base is taking advantage of the company’s two-factor authentication feature. Troy Hunt is alarmed....(more) Ayuda! (Help!) Equifax Has My Data! - Equifax last week disclosed a historic breach involving Social Security numbers and other sensitive data on as many as 143 million Americans....(more) R LanguageAutomatically Write and Email Reports with R, SendGrid, & Displayr - This post explains how to use R to automatically write and send emails based on automatically computed analyses, so that when analysis changes or is updated, the email body text changes as well. ...(more) PowerShellBecause you need to know PowerShell - The difference with PowerShell is that this is not just text output. These things are objects. And we can do stuff with that. PowerShell is a ‘typed’ environment. You already deal with objects all the time, like in Object Explorer in SSMS. PowerShell objects can include all those things, as well as .Net objects. This is where PowerShell gets its power from....(more) Do I Need to Master PowerShell? - As a SQL Server DBA, do you need to be a master of PowerShell scripts? Kendra Little's 9 minute video explains how much you need to know about PowerShell, and examples of ways she uses, and struggles with, PowerShell....(more) T-SQL Tuesday #94 – Lets get all Posh! Creating VMs with PS - If you're setting up VMs to provide redundant servers for availability and disaster recovery (HA/DR), then you'll want the machines to be configured just like the servers to which they provide failover. You can automate VM configuration with PowerShell!...(more) #TSQL2sDay – Starting Out with PowerShell - Rob Sewell offers some guidance to starting to use PowerShell with SQL and how you can help yourself....(more) T-SQL Tuesday #94 – Automating Configuration Comparison - How to use Powershell and dbatools to make sure the configuration of a test server matches production as closely as possible....(more) Importing Excel into SQL Server using PowerShell - Ever get given a Excel file to import into SQL Server for “further analysis”? Shane O'Neil give sup on T-SQL, but finds a reliable way to do it in PowerShell....(more) Let's get all Posh! Log Shipping - If you’ve ever had to setup log shipping in the SQL Server Management Studio, then you know how tedious it can be. Sander Stad builds some PowerShell log shipping functions for the dbatools module....(more) PowerPivot/PowerQuery/PowerBIThe Power Query Branding Problem - A few years ago I started blogging about Power Query. Back then life was simple: I put “Power Query” in the title of a post and everyone knew what I was writing about, because Power Query was an Excel add-in you could download and install....(more) Power BI Theming – Chart Style Controls - Corporate Identity in Power BI Reports .. here we come! Hurrah for that....(more) Performance Tuning SQL ServerHow much should you worry about CXPACKET? - Dennes Torres offers an example to illustrate that “CXPACKET is not a problem by itself, it’s a symptom of another problem”...(more) How Much Can One Row Change A Query Plan? Part 1 - Two queries – the first asks for top 100, and the second asks for top 101. The estimated plans seem identical, but one of them has a couple of very, very bad performance issues......(more) HA/DR/Always On/ClusteringUsing Synonyms with Availability Groups - I'm a big fan of using synonyms to point to objects in other databases, but if you've tried to use them in conjunction with Availability Groups you may have encountered a slight issue: upon failover, the synonyms are no longer valid because the instance name is part of the synonym definition....(more) Synchronizing SQL Server Instance Objects in an Availability Group - Since AGs only replicate user databases, that means that all data stored in master, model, and msdb will not be handled. Replication of your SQL Agent jobs, linked servers, logins, credentials, and all over instance objects, will not be handled for you. This means that you have to implement a process to do keep all of your cluster nodes synchronized....(more) How to run the Availability Group Traffic on a different NIC - When you deploy a new SQL Server Availability Group, the synchronization traffic between all replicas is routed by default always through your default network card. Klaus Aschenbrenner shows you how you can configure your SQL Server Availability Group, so that the network traffic goes through a dedicated different network card....(more) DevOps and Continuous Delivery (CI/CD)Benchmark your Database DevOps maturity level - Whether you’re only just starting to explore the advantages of DevOps or you’re already fully immersed in the journey, including the database brings additional advantages. Take a few minutes to complete our Database DevOps Maturity Assessment and you’ll better understand how advanced your current processes are, receive recommendations for improvements, and see how your maturity level compares with that of your peers....(more) Conferences and EventsHow much can you learn in 3 content packed days? - A lot, if you join us at PASS Summit. It’s action-packed learning at its best, filled with the latest Data Platform know-how. Connect with experts like Grant Fritchey, Kendra Little, and Denny Lee as they share their passion for data....(more) Computing in the Cloud (Azure, Google , AWS)Monitoring Azure Virtual Machine Performance - This post will explain how you can use Alerts in Microsoft Azure to monitor the performance of Azure virtual machines and create alerts or trigger actions when performance breaches pre-defined thresholds....(more) Questions About RDS SQL Server You Were Too Shy to Ask - There are a number of different ways that you can host SQL Server. RDS SQL Server, for example, uses SQL Server within AWS as a simple database service, much like a more versatile alternative to MySQL....(more) Instant Log Initialization for SQL Server in Azure - Dimitri Furman describes a case where the log can be initialized instantaneously and yet maintain crash recovery semantics. Specifically, this happens when database files are created directly in Azure Blob Storage....(more) Career GrowthTools We Use for Remote Work - We are in the process of trying to move to working remotely more often...could give me a list of what technologies you use for conferencing, team meetings, etc. Also maybe some pros and cons and\or issues you have run into?...(more) Azure SQL DatabaseAzure SQL Database Resumable Online Index Rebuild - We now have the ability to resume a paused rebuilding operation rather than cancelling it....(more) Azure SQL Data Warehouse and Data LakeThe Quick and the Dead Slow: Importing CSV Files into Azure Data Warehouse - Although Azure Data Warehouse is part of the bright new jewellery of the Microsoft Data Platform, the old Data Warehouse rules still apply where data imports are concerned. When it comes to data import, it pays to choose the fastest import method first and prepare your data first to ensure that it is compatible with your choice. The subtlety is in the details, as Feodor explains....(more) Analysis Services / BI on the MS StackThe easiest way to start using variables in DAX - If you still wonder why you should use variable in DAX and how to start… well, Marco Russo has a very good example....(more) Administration of SQL ServerScript all Agent Jobs Using SQL Server Management Studio - While doing a recent server move, I came across the need to script all agent jobs and save them to a file so that if we needed to reference what was there after the move we could get at the agent jobs without having to restart the old SQL Server....(more) Database Fundamentals #10: Modifying Tables - Invariably, either while building a new database, or while maintaining old ones, you will find that the business needs change or that you’ve made a mistake. Either way, you will need to modify the tables that you’ve created. ...(more) |