Problems displaying this newsletter? View online.
SQL Server Central
Featured Contents
Question of the Day
PASS Summit 2025 is fast approaching
The Voice of the DBA
 

Data > Hype

There is a ton of hype now about using GenAI for various tasks, especially for technical workers. There are lots of executives who would like to use AI to reduce their cost of labor, whether that's getting more out of their existing staff or perhaps even reducing staff. Salesforce famously noted they weren't hiring software engineers in 2025. I'm not sure they let engineers go, but it seems they did let support people go.

For many technical people, we know the hype of a GenAI agent writing code is just that: hype. The agents can't do the same job that humans do, at least not for some humans. We still need humans to prompt the AIs, make decisions, and maybe most importantly, stop the agents when they're off track. I'm not sure anyone other than a trained software engineer can do that well.

I was listening to a podcast recently on software developers using AI, and there was an interesting comment. "Data beats hype every time, " which is something I hope most data professionals understand. We should experiment with our hypothesis, measure outcomes, and then decide if we continue on with our direction, or if we need to rethink our hypothesis.

Isn't that how you query tune? You have an idea of what might reduce query time, you make a change, and check the results. Hopefully you don't just rewrite certain queries using a pattern because this has helped improve performance in the past without testing your choice. Maybe you default to adding a new index (or a new key column/include column) to make a query perform better? I hope you don't do those last two.

AI technology can be helpful, but there needs to be some thought put into how to roll it out, how to set up and measure experiments, and get feedback on whether it actually produces better code and helps engineers. Or if it's just hype that isn't helping.

Ultimately, I think that this is especially true for data professionals, as the training of models on SQL code isn't as simple or easy as it might be for Python, Java, C#, etc. For example, I find some models are biased more towards one platform (MySQL) than another (SQL Server). Your experiments should include using a few different models and finding out which ones work well and (more importantly) which ones don't. We also need to learn where models actually produce better-performing code for our platforms.

If you're skeptical of AI, then conduct some experiments. Try to learn to use the tool to help you, rather than replace you. Look for ways to speed up your development, or have an assistant handle tedious tasks. I have found that when I do that, I get benefits from AI that save a bit of typing.

From the Pragmatic Engineer podcast, the best way to deal with some of the hype on AI is with data, take a structured approach to rolling it out, throw in a lot of AB testing measures with different groups or cohorts, evaluate, and see what works well. One of the things the guest noted was that the most highly regulated and structured groups are having the most success with AI. Because they're careful about rollout, and they are measuring everything. They've been measuring time spent, accuracy of tasks and more. Then they decide where and when to use AI, which might be the best advice you get.

Steve Jones - SSC Editor

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

Ad for State of Database Landscape survey
 
 Featured Contents
SQLServerCentral Article

Create and Read the Analysis Services Flight Recorder

Pablo Echeverria from SQLServerCentral

This article explains how to customize an extended events session in SQL Server Analysis Services for auditing and monitoring

External Article

Power BI TMDL View: Benefits, Security Risks & Best Practices

Additional Articles from SimpleTalk

The Tabular Model Definition Language (TMDL) provides a simpler way of defining Power BI Semantic Models. Unlike the JSON-based Tabular Model Scripting Language (TMSL), TMDL uses a more accessible tab-based format for specifying DAX measures, relationships, and Power Query code.

From the SQL Server Central Blogs - Beyond Pipelines: How Fabric Reinvents Data Movement for the Modern Enterprise

Chris Yates from The SQL Professor

For decades, enterprises have thought about data like plumbers think about water: you build pipelines, connect sources to sinks, and hope the pipes do not burst under pressure. That...

From the SQL Server Central Blogs - Connect resiliently to SQL Server

peter.skoglund from SQL Development Wizard

 Why you should connect resiliently to SQL Server
Transient failures happen — in the cloud (Azure SQL) and on-prem. A resilient connection strategy lets your app recover gracefully instead of...

Learn T-SQL Querying

Learn T-SQL Querying

Additional Articles from SQLServerCentral

Troubleshoot query performance issues, identify anti-patterns in your code, and write efficient T-SQL queries with this guide for T-SQL developers

 

 Question of the Day

Today's question (by Steve Jones - SSC Editor):

 

Slipstream parameters

What parameters are needed to enable a slipstream installation for setup.exe (SQL Server setup)?

Think you know the answer? Click here, and find out if you are right.

 

 

 Yesterday's Question of the Day (by Steve Jones - SSC Editor)

The Last Good DBCC Run

I want to check when DBCC CHECKDB was last run on my Baseball database. What code should I use?

Answer: select DATABASEPROPERTYEX('Baseball', 'LastGoodCheckDbTime')

Explanation: The DatabasePropertyEX() function will read this, though be careful as there are some caveats to trusting this. Ref:

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 2016 - Administration
SQLPS and syspolicy_purge_history job - The SQLPS.exe file has gone AWOL on 2 of my 4 SQL servers, ie, not in the path select Agent_exe from msdb.dbo.syssubsystems where subsystem = 'PowerShell'​ nor anywhere to be found on these machines. As a result, syspolicy_purge_history fails. And in fact, the job's status is "suspended", and I can't even stop it. I am […]
SQL Server 2019 - Development
how to write this query? - Hi everyone I am a bit stuck on how to write this query. Below is test data: drop table if exists #price_cutoff drop table if exists #nr_data drop table if exists #nt_data create table #price_cutoff ( [SYMBOL] [nvarchar](10) NOT NULL, [TRADE_DATE] [date] NOT NULL, [NR_PRICE] [float] NULL, [NT_PRICE] [float] NULL ) create table #nr_data ( […]
Line number in error message doesn't match up with line number in code - Hi everyone I have a 1000 plus line query and I am getting an error: Msg 8115, Level 16, State 6, Procedure dbo.TestQuery, Line 1036 [Batch Start Line 2] Arithmetic overflow error converting float to data type numeric. It says line 1036 but when I go to that line I get something that can't possible […]
Analysis Services
Automatically generate tabular model partitions - Hi. I hope someone can give some useful suggestions. My workplace have a suite of SSAS tabular models. They used to be created in compatibility level 1103. We then used a free piece of software with them called Partition Manager (which was a free download from Codeplex, to show it's age!) to dynamically generate partitions […]
Anything that is NOT about SQL!
Are things getting beyond reason? - My wife apparently ask her phone a question and below is what she sent me in the answer to her query.  I look at this and can only shake my head in wonder.  If this is AI in action, I think it's time to kill it off.  Imagine the bandwidth required to move this much […]
Editorials
Be Wary of Data - Comments posted to this topic are about the item Be Wary of Data
I Love Editorials - Comments posted to this topic are about the item I Love Editorials
The Journey to PostgreSQL (or anything) - Comments posted to this topic are about the item The Journey to PostgreSQL (or anything)
Article Discussions by Author
Locking Hierarchies - Comments posted to this topic are about the item Locking Hierarchies
Why Indexes are Important Beyond Faster Execution of Queries - Comments posted to this topic are about the item Why Indexes are Important Beyond Faster Execution of Queries
Powershell script to generate SQL server Inventory in CSV format - Comments posted to this topic are about the item Powershell script to generate SQL server Inventory in CSV format
Database Ledger in SQL Server 2022 - Comments posted to this topic are about the item Database Ledger in SQL Server 2022
Azure SQL Database MAXDOP - Comments posted to this topic are about the item Azure SQL Database MAXDOP
Building a RESTful API with FastAPI and PostgreSQL - Comments posted to this topic are about the item Building a RESTful API with FastAPI and PostgreSQL
SQL Server 2022 - Development
repeat results without loops, MSSQL2005 Express - hello everybody, new here and this is my first question I have a table contains: Name, Id, joinDate My question is that: I need a query to list all years between current date and joinDate, as the following as instance: Id------------------------Name----------------------empDate 1--------------------------John-----------------------6-8-2020 result: 1--------------------------John-----------------------6-8-2021 1--------------------------John-----------------------6-8-2022 1--------------------------John-----------------------6-8-2023 1--------------------------John-----------------------6-8-2024 1--------------------------John-----------------------6-8-2025 Thanks in advance.
 

 

RSS FeedTwitter

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

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -