For a number of years, we’ve produced the State of the Database Landscape report, based on surveys and research we do every year. I have found it very interesting to see how people respond and what we learn from the report each year.
We reviewed the report and now each of us is digging in to those areas we are most interested, and we’ll express our thoughts in the webinar. With over 100 years of database experience between us, we hope you’ll enjoy it.
And we are ready to take your questions and discuss and debate the future of our industry.
It’s that time of the month again, with T-SQL Tuesday coming along. I managed to not forget about this and checked with the host. He had an issue, but fortunately I got a friend to step up.
This month Pat Wright has an interesting question, asking how your code has aged. He and I have had a few conversations lately about getting older and when I asked him to host, this was a perfect choice.
I’m definitely getting older, but what about my code?
25 Years Later
Actually a little more, but I wrote a series called “Tame Those Strings” for Swynk a long time ago. That became Database Journal, but during the switch, they stopped paying us authors. A few of us started SQL Server Central and we went live 25 years ago.
These are basic articles looking at string functions that are still heavily in use today. The idea of cleaning phone numbers using REPLACE is still something we might do today. If we are using SQL Server 2025, there are additional functions, but I still see a lot of code that still use multiple CHARINDEX+SUBSTRING or REPLACE functions.
I asked the Prompt AI if it could do better.
It gave me two pieces of code. The first is nested REPLACE() statements. This works, but I find this hard to read. I’d rather have separate statements, for ease of maintenance.
The second is a single statement, using a CASE and STUFF and XML to clean things. I like this, thought it’s a semi-complex way of doing things. However, it works.
Has the code aged well? I think it’s OK. There are better ways, as shown with the STUFF/XML version, which wouldn’t have worked in SQL Server 2000. Still, the use of REPLACE is a common technique still used today.
For part 4, with the use of LTRIM and STR(), today we have FORMAT, which is cleaner. However, it’s likely less performant. In a simple test of 500,000 values, the FORMAT takes over 600ms to return the results while my LTRIM/STR combination consistently runs in the 460ms or quicker range.
I coach volleyball and I do a lot of stat stuff on paper. I decided recently to see if I could find a way to more easily automate things. I’ve tried a few apps on the iPad, but they all have too many restrictions and they are hard to use in the heat of the moment. Paper and pencil have been simple, reliable, and they let me fix something easily.
However.
Paper takes some focus, and it’s hard to quickly summarize things. I wanted to make my own app, and Claude convinced me not to do this.
I’ve been kicking this around, but I never seem to have time. Listening to podcasts, reading articles, and seeing other experiments is slowly getting me to just try things. I started with this prompt, intending to give this 10 minutes out of my day.
how hard is it to build an app for an ipad
I know some of the answers, but you can look at the image below for what Claude gave me.
I like the conversational nature of this, so I answered with this:
a simple app to track some data entry. Can you build an app for an iPad?
I was just looking for help in my thought process here and trying to scope the work. I’m sure Claude Code could knock this out, but I’m experimenting. This was Claude’s response.
That’s great news. I don’t need a native app, and in fact, that’s likely a lot of overhead registering on a store or playing the sideload game, sending updates slowly, etc. With cloud file sync, I could easily have this data available elsewhere anyway.
This is the type of advice I’d get from some friends. Others would relish the chance to build an app and make this more complex. I’ve certainly seen some other Vb coaches on FB create complex systems.
My answer:
volleyball stats. Display a list of players in a 4×3 grid, like the image. Each player’s name is customizable. A date, goal, and time can be entered. For each player, display 4 buttons: 0,1,2,3 which are used to rate a pass. There should be a real time calculation of the average pass score for a player (sum of items/ attempts). Save this to a text file with the datetime data entry was completed.
I meant to upload the image below, but forgot. For context, I print this out and then as kids pass balls, I write 0, 1, 2, 3 for each pass. After we’re done (usually xx passes or time), I quickly compute an average. You can see below, Eliza gets a 3 and Ella gets a 2.
That takes time, so I wondered what Claude would say. This is the response, which took about 5 minutes.
I downloaded the file and opened it and saw this, or most of this. I updated the player names and they’re saved in the HTML.
I can click around and it logs attempts and calculates an average in real time. If I download the data, I get a text report of what happened.
I asked for a few changes, and then I asked for a log of the session. That’s the readme in the repo.
To me, this was something I’ve put off for a few years, not wanting to get caught up in a project like this when I could easily just use paper.
Now I have a new toy that I’ll use at the next practice. Plus, I’ve amazed myself at how easy this was.
Be curious, try things, ask for help on a task or project you’ve put off. GenAI is amazing.
Other AIs
I tried this on a local Gemma3 model and it was very slow and produced a single entry box. to me, this wasn’t worth the time or effort.
I tried this in Copilot (in VS Code) with the Sonnet model, and it wanted to make me an xCode app right away with a SwiftUI. I could get it to produce something like what I got below, but it wasn’t as helpful as Claude.
dolorblindness – n. the frustration that you’ll never be able to understand another person’s pain, only ever searching their face for some faint evocation of it, then rifling through your own experiences for some slapdash comparison, wishing you could tell them truthfully, “I know exactly how you feel.”
I’ve been lucky and blessed in life, with many things going my way and relatively few big obstables or painful moments. I’ve had some, but many less than a lot of people I know. I’ve also had plenty of success (by my definition) in life.
As a result, I think I run into dolorblindness regularly when I run into someone that’s had a difficult event. Losing a loved one, dealing with a health crisis, losing their job, or some other event that creates a lot of pain in individuals. I feel empathy and sadness for them, but I’m often struggling to understand the feelings because I haven’t felt them.
Most of the time.
I often won’t say that I understand because I don’t. Sometimes I do, but often I express support, offer help, or just give them a hug.
Whether you really know how someone feels or are experiencing dolorblindness, I hope you be kind, have compassion, and support those struggling in life.