Database Weekly for January 6, 2024 Problems displaying this newsletter? [View online](. [Database Weekly](
The Complete Weekly Roundup of SQL Server News by SQLServerCentral.com
Hand-picked content to sharpen your professional edge
Editorial
 Has AI Changed Software Development? I saw a piece that asked the question about [AI and software development, specifically ChatGPT, a year after its release](. Has software development changed? It's a question I've been trying to ask for myself, though I do think the way AI works for lots of code is fundamentally different than how it works for databases. Databases need a lot of context, with schema and relationships, whereas a lot of other code can be structured in a more narrow sense, focused on an algorithm rather than specifically needing to reference other objects. That's not to say that a generative AI can write application code better than database code. I think in both cases it can be helpful or hurtful. As I read the article, I find myself agreeing that AI has changed software development. It's a tool, and it can be useful. It can help structure code, point out issues, and help with building tests. That being said, I also agree with this sentence in the article: "...given that to write anything resembling maintainable code with AI, you'll need some level of expertise in programming." Everything I've seen from AIs still requires a review from a human that understands if the AI is on the right track in approaching the problem. I've written this a few times (and discussed it with others) that I think an AI produces junior level code in many cases, and it takes a subject matter expert to decide if that's OK for the situation. However, I feel that AI does a few things really well. First, it's a great search engine, able to understand multiple prompts in a row that narrow in the thing I might spend much more time searching for. It also does some nice predictive things in guessing what code is needed next. In most application languages, this is helpful. In SQL, not so much, since the SQL language lays code out in a way that makes it harder to predict things. The LINQ structure of from, where, select is much more cleaner in many ways. If only RDBMSes natively executed LINQ... If you've tried AI, what has worked, what prompts give you help? Is there anything especially time-saving you've found? I, and many others, are looking to understand where it can help us. Steve Jones - SSC Editor [Join the debate, and respond to the editorial on the forums]( Â
The Weekly News
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.
Vendors/3rd Party Products [Using ODBC in PowerShell Scripts and Callbacks]( Flyway connects to database using JDBC, but when we're automating Flyway with PowerShell, we can't use JDBC directly to get access to the metadata we need to add useful reports and other functionality to Flyway's build and migration processes. This article demonstrates how to get what we need using ODBC from our PowerShell scripts, via a DSN. [Failed Flyway Database Deployments: Roll Back or Fix Forward?]( The best ways to reverse or accelerate your way out of the problems caused by a failed database migration. AI/Machine Learning/Cognitive Services [One Year In: How Has ChatGPT Impacted Software Development?]( From IT Pro - Microsoft Windows Information, Solutions, Tools While generative AI tools won't be replacing developers, they have already made a major impact on software development. [Asking Copilot about the DP-600 exam for Microsoft Fabric]( From Kevin Chant Reading Time: 4 minutes In this post I want to share some results I got from asking Copilot about the DP-600 exam for Microsoft Fabric. More specifically, I... Administration of SQL Server [Lesson Learned #466:Managing SQL Server Workloads:Resolving Error Msg 10928 with DAC and SQL Queries]( From Azure Database Support Blog Dealing with SQL Server's error Msg 10928 is critical for database administrators. This error, indicating that the request limit for the database has been reached, can halt operations.  Recently, a... [Lesson Learned #465:Unraveling DNS Errors in "myserver.database.windows.net": Nonauthoritative host]( From Azure Database Support Blog Today, I got a service request with the following error message: .Net SqlClient Data Provider,SqlErrorNumber=11002,Class=20,ErrorCode=-2146232060,State=0,Errors=[{Class=20,Number=11002,State=0,Message=A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was... [How Database Snapshots Benefit the SQL Server DBA]( From MSSQL Tips  Azure SQL [Update Azure SQL database and storage account public endpoint firewalls with Data Factory IP ranges]( From SQLServerCentral Blogs While a private endpoint and vNets are preferred, sometimes we need to configure Azure SQL Database or Azure Storage to allow use of public endpoints. In that case, an... The... Career, Employment, and Certifications [2024- Of âquiet quittingâ and âlife in the hallwayâ]( From SQLServerCentral Blogs My good friend Gina Menorek shared this article fr... [Being A Bit Less Comfortable in 2024]( From Simple Talk I hate coming up with ideas for editorials, but my last editorial of the year gives me a very simple topic just staring me in the face: New Yearâs Resolutions....
Conferences, Classes, Events, and Webinars [Buy on-demand access for Summit 2023 today]( Buy your on-demand ticket today to get access to hundreds of high-quality sessions across all 5 tracks at PASS Data Community Summit 2023. Itâs a great way of learning at your leisure if you werenât able to join us in person last year. On-demand access is available for non-attendees to purchase for $1295. This will grant you access to all session recordings until November 17, 2024. [Kickstart the year with our free Livestream! Navigating the database landscape in 2024]( The key finding from Redgateâs annual âState Ofâ survey is that thereâs a need for skill diversification to keep up with the pace of technological advances. How will this skills gap affect you? Join Redgaters Steve Jones, Ryan Booz and Beca Parker for a free livestream on January 23rd as they share what you can do to thrive in this changing landscape. [SQL Server Locking, Blocking, and Deadlocks for Developers and DBAs Course Released]( From The Bit Bucket The latest online on-demand course that I've been ... DMO/SMO/Powershell [Lesson Learned #464: Utilizing SMO's Scripting Option in Azure SQL Database.]( From Azure Database Support Blog Today, I encountered a unique service request from a customer inquiring about alternative methods to script out a table and all its dependencies in Azure SQL Database. Traditionally, several... Data Science [Reversion to the Mean: Unraveling a Pervasive Misconception in Business and Beyond]( In the realm of business and leadership, one statistical phenomenon often goes unrecognized yet significantly influences our understanding of performance and success. This is the concept of reversion to the mean (also called regression to the mean). ETL/SSIS/Azure Data Factory/Biml [Warehouse Load Patterns â Part 2 â Load Patterns]( From Simple Talk This continues and finishes my two-part series on ... [Creating a Modern Data Production Pipeline using Azure Databricks and Azure Data Factory]( From MSSQL Tips In this article, we look at how to use Azure Databricks and Azure Data Factory to build a modern data production pipeline. Editorial [PostgreSQL Indexes: What They Are and How They Help]( In the previous blog in this series, we learned how to produce, read and interpret execution plans. We learned that an execution plan provides information about access methods, which PostgreSQL use to select records from a database. Specifically, we observed that in some cases PostgreSQL used sequential scan, and in some cases index-based access. [The Most Valuable, Undesirable Thing: Feedback]( In 1964, the Beatles added something interesting to one of their songs. I Feel Fine started out with a twang of feedback. It wasnât planned to happen, but by a happy accident, the first use of feedback in a song was created (and it wouldnât be the last, which you know if you have ever heard of Jimi Hendrix.) Of course, the feedback I want to discuss today has nothing to do with audio looped circularly through a speaker, amp, and microphone. Instead, I want to talk about the feedback we get from others about the work we do. Hardware [Seagate IronWolf Pro 22TB HDD Capsule Review]( From AnAndTech Seagate's IronWolf Pro lineup of hard drives for network-attached storage units has consistently offered good value for money, particularly at the highest capacity points. I purchased two 22TB IronWolf... [LaCie Rugged Mini SSD Review: Power-Efficient Flash Storage at 20 Gbps]( From AnAndTech LaCie's portable storage drives have enjoyed a fan following, particularly among creative professionals valuing both performance and product design / appearance. After Seagate's acquisition, the brand has continued to... MDX/DAX [Replacing relationships with join functions in DAX]( From Sqlbi This article describes how to join tables in DAX when there are no relationships in the data model. The data lineage plays an essential role in this scenario. In... [Replacing relationships with join functions in DAX]( From Sqlbi How to join tables in DAX when there are no relationships in the data model. The data lineage plays an essential role in this scenario. [Identifying & Optimizing DAX Patterns (Case-Study)]( From Havens Consulting Video by: Reid HavensWalk through a client case-study with me as I identify and optimize repeating DAX patterns. The end result having less lines of code, simpler logic, and... Microsoft Fabric ( Azure Synapse Analytics, OneLake, ADLS, Data Science) [Reading and writing JSON files]( This article is a two-part article. The first part briefly introduces the world of JSON and why I consider reading and writing simple JSON documents a valuable asset. The second part is about extracting data from some of Power BIâs REST APIs. I will fill in the second part later. [Clash of the data kings â Databricks vs. Fabric]( From Made2Mentor Microsoft recently announced the general availability of Microsoft Fabric, which contains all (or most) cloud Data analytics services from Microsoft. This is a good opportunity to compare it with another popular data platform, which is also available in Azure (and other cloud services) â Databricks. [Fabric: Load Data from a CSV File Stored in Azure Blob Storage to Azure SQL DB]( From AndyLeonard.blog() In November 2023, I shared how to start learning M... [Nineteenth Blog Birthday: Fabric, The Hedgehog And The Fox]( From Chris Webb's BI Blog Every year, on the anniversary of the first-ever p... [Fabric Ridealong week 4 â Who invented this?]( From SQLGene â Learning SQL Slowly Last week I struggled to load and process the data. I was frustrated and a good bit disoriented. This week has been mostly backing up (again) and getting a... PowerPivot/PowerQuery/PowerBI [Why you should consider Power BI Cleaner]( From SQLServerCentral Blogs Introduction You have probably created various auxiliary tables, columns or metrics during report development. Before the final deployment of the report into production, it is necessary to delete these auxiliary... The... [Power BI Embedding: Essential Learning Resources]( From SQLServerCentral Blogs Introduction In this blog, you will find valuable resources to help you better understand the Power BI Embedding feature. Whether you are looking for ways to integrate Power BI into... The... Product Reviews and Articles [Book Review: Chart Spark]( From Little Miss Data A brief review of the book âChart Sparkâ by Al... [Failed Flyway Database Deployments: Roll Back or Fix Forward?]( From Product learning â Redgate Software The best ways to reverse or accelerate your way out of the problems caused by a failed database migration. The post Failed Flyway Database Deployments: Roll Back or Fix Forward?... R Language [QUANTILE REGRESSION WITH RANDOM FORESTS]( In my December 22 blog, I first introduced the classic parametric quantile regressionâ(QR) concept. I then showed how one could use the qeML package to perform quantile regression nonparametrically, using the packageâs qeKNN function for a k-Nearest Neighbors approach.âA reader then asked if this could be applied to random forests (RFs). The answer is yes, and this will be the topic of the current post. [Unlocking the Power of Time: Transforming Data Frames into Time Series in R]( Hey there, fellow R enthusiasts! Today, weâre diving into the realm of time series, where data dances along the temporal dimension. To join this rhythmic analysis, weâll first learn how to convert our trusty data frames into time series objectsâthe heart of time-based exploration in R. SQL Server on Linux [Video: Configuring and Troubleshooting SQL Server on Linux]( From 36 Chambers â The Legendary Journeys THE VIDEO THE SYNOPSIS In this video, we will run through detailed configuration recommendations for SQL Server on Linux. We will also find out where you can find your... Software Development [Cutting Too Many Corners?]( From Callihan Data Iâve always enjoyed developing small applications to make life easier, but they were sometimes more of the âcowboyâ variety. They didnât go through the full development process that they... [Changing the Origin in Gitâ#SQLNewBlogger]( From SQLServerCentral Blogs I needed to show a customer how to migrate from Azure DevOps to GitHub recently, and to smooth this process, we needed to repoint the origin remote. Another post... The... T-SQL and Query Languages [A Focus on TRY_PARSE Functionality]( From Andy Broadsword In the previous post we looked at the functions TRY_CAST, TRY_CONVERT, and TRY_PARSE and how they compared. I wrapped up and said that my preference for new developments would be to use... [The Art Of The SQL Server Stored Procedure: Dynamic Searches]( From Erik Darling Data Convenience Like having a built-in type to make dynamic SQL more easily managed, it would also be nice to have some mechanism to manage dynamic searches. Of course, what... [Two-Dimensional Interval Packing Challenge]( From Simple Talk Packing intervals is a classic SQL task that involves packing groups of intersecting intervals to their respective continuous intervals. In mathematics, an interval is the subset of all values... [Finding Foreign Keys in Azure SQL DB]( From SQLServerCentral Blogs There are plenty of times Iâm called upon to fix data. To do this, I must know what dependencies are in the database. Foreign keys are a crucial aspect... The... [The Art Of The SQL Server Stored Procedure: Pagination]( From Erik Darling Data Video Star A common-enough practice to limit search results is to write paginated queries. You may give users the ability to specify how many rows per page they want... [T-SQL math patterns]( From SQLSunday As part of spending waaaaaay to much time trying to solve the 2023 Advent of Code challenges, I came across multiple instances where I had to dust off some... Tech News [The Rise of Linux in Edge Computing and IoT]( From IT Pro - Microsoft Windows Information, Solutions, Tools Linuxâs effectiveness positions it as a crucial player in the evolving landscape of distributed computing. [Facial Recognition Systems in the US]( From Schneier on Security A helpful summary of which US retail stores are using facial recognition, thinking about using it, or currently not planning on using it. (This, of course, can all change... Theory and Design [First Normal Form Gets No Respect]( Dr. Codd first described the relational model in a paper in Communications of the ACM (CACM 13 No 6; June 1970). Some more work followed up after that by other people, giving us normal forms and other things we have taken for granted for 50+ years.  [RSS Feed]( This email has been sent to {EMAIL}. 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. Note: This is not the SQLServerCentral.com daily newsletter list, and unsubscribing to this newsletter will not stop you receiving the SQL Server Central daily newsletters. If you want to be removed from that list, you can follow the instructions on the daily newsletter.
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
webmaster@sqlservercentral.com  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -