r/SQLServer • • Feb 19 '25

SQL Server 2025 sneak peek: JSON data type

51 Upvotes

Another sneak peek about what is coming for #sqlserver2025. A new JSON data type including new T-SQL functions and an index. https://aka.ms/jsonsql. Check it out yourself today with the preview in #azuresql. Available also in our new free offer: https://aka.ms/freedboffer. Want to work with us for the private preview of #sqlserver2025 sign up today at https://aka.ms/sqleapsignup.


r/SQLServer • • Jun 24 '15

SQL Server Management Studio Now a Standalone Product with Updates

Thumbnail
blogs.msdn.com
51 Upvotes

r/SQLServer • • Sep 26 '22

Blog [Bitesized] How HDDs work (so that we can understand B-Trees better!)

Post image
50 Upvotes

r/SQLServer • • Jan 19 '21

Woohoo! I just passed my 70-761 exam! (T-SQL Querying)

50 Upvotes

I just took my 70-761 exam, and I passed! I noticed the other day that the exam was going to be retiring soon, and I figured "why not, I'll give it a shot". I gave myself about a week to study the bits I wasn't too familiar with.

Took the test yesterday, and used nearly every second they allotted me haha. I answered the last question with literally 2 minutes left on the clock.

And I have to give credit where it is due...I came across this blog post that actually helped me quite a bit, by just reading through it a few times and refreshing myself on things I already knew but weren't completely familiar with, as well as learning things I hadn't used yet with quick copy/paste demos that I could elaborate on myself.

https://mika-s.github.io/sql/certification/70-761/2019/05/27/notes-on-70-761-Querying-Data-with-Transact-SQL.html


r/SQLServer • • Aug 20 '20

No more Microsoft webinars for me, its nothing but sales pitch.

50 Upvotes

Got fed up with the language..


r/SQLServer • • Feb 15 '19

Blog SQLWATCH Dashboard 2.0 beta 3

Thumbnail
sqlwatch.io
50 Upvotes

r/SQLServer • • Feb 08 '19

Just got my MCSA: 2016 in database administration!

50 Upvotes

Just wanted to share. Between this and stackoverflow i've been able to learn and grow my skills. My job unfortunately does not deal with Azure (we're currently strictly on prem), so the 2nd test (70-765) was extremely hard for me. But i passed! I'm still a little in shock.


r/SQLServer • • Jun 24 '15

101 Things I Wish You Knew About SQL Server

Thumbnail
thomaslarock.com
50 Upvotes

r/SQLServer • • Oct 14 '26

Community Share Introducing sqlsimtools

49 Upvotes

Take a look at a new open-source, free project for you to simulate SQL workloads at https://aka.ms/sqlsimtools. This is the same set of tools I often use at customer events, podcasts, and presentations. Check out the first blog post at https://techcommunity.microsoft.com/blog/SQLServer/introducing-sqlsimtools/4563955.


r/SQLServer • • Feb 11 '26

Community Share SSMS 22.3 released yesterday

49 Upvotes

Hey folks! We released SSMS 22.3 yesterday which includes multiple bug fixes, several improvements, and a new feature in GitHub Copilot...database instructions.

Blog post link below - those of you that have extensions installed should read before updating.

Announcing database instructions and a lot of fixes in SQL Server Management Studio 22.3


r/SQLServer • • May 21 '20

The time somebody left a *%^$ doomsday device inside our CRM database

49 Upvotes

So, no shit, there I was...

The date: February 2019

The system: Blackbaud CRM (on SQL Server 2014)

Some technical background: Blackbaud CRM has a concept of a "global change," which is basically a front end for a stored procedure: you use a little form-builder to create a form and some inputs, then you can map those inputs to the variables for a stored proc, and then execute the proc to update records in the database in bulk.

Some of you can probably already see where this is going. But I promise you, it's way worse than you're currently imagining.

The offender: "Chet" (not his real name)... I will say Chet was a "business analyst" because calling this guy a developer would be too generous. He was in our donor relations department, not central IT. The dude couldn't wrap his head around how version control works, and seemed to have issues with just following simple instructions in general. Fortunately, Chet left us to take another job far, far away.

Sometime after this all-star left our employment, I'm poking around the production database one day, when I happen upon a stored proc I don't recognize with a very generic-sounding name:

 [dbo].[USR_USP_GLOBAL_CHANGE_MEGC] 

I peek at the code.

My eye twitches involuntarily.

CREATE PROCEDURE [dbo].[USR_USP_GLOBAL_CHANGE_MEGC] 
    @MEGC VARCHAR(4000)
AS

EXECUTE sp_executesql(@MEGC);

(This is not the exact code, but a close approximation of what it said.)

Thinking I must be insane, that nobody in his right mind would purposefully put something like that into a production database, I go to the Blackbaud UI and find the corresponding form for this stored procedure, and find what appears to be a simple text parameter:

At this point, I can't stop my eye from twitching and I can almost feel a subarachnoid hemorrhage coming on.

The S.O.B. installed a freaking DOOMSDAY DEVICE in our CRM database!

He could feed the UI any SQL he wanted via that parameter and the proc would try to execute it! I started having visions of him running DROP TABLE scripts in this thing.

Immediately informed my boss, who agreed I should immediately drop the proc from the database and never speak of it again.

...

This is yet another reason to fear platforms like Blackbaud where "power users" are enabled to create their own stored procedures in the database. Somebody (not me, not my boss) hired Chet, put way too much faith in him, and let him run around inside a platform where power users can build crap like this.

Between this and the nonsense I posted about in my other recent thread about "ad hoc queries" in Blackbaud, I'm about to start waging a guerrilla campaign to get us out of that system and into a better CRM that puts less trust in its users.


r/SQLServer • • Mar 14 '14

The most amazing keyboard command for Sql Server Management Studio

Thumbnail
darrenkopp.com
49 Upvotes

r/SQLServer • • Sep 03 '26

Discussion 1 year in as a DBA — does the "there's always something I don't know" anxiety ever go away?

48 Upvotes

Hi everyone,

I**'m about a year into my career as a DBA, managing a fairly large SQL Server environment — multiple production and dev/test instances, hundreds of databases, several Always On Availability Groups. I wanted to ask the more experienced folks here about something that'**s been weighing on me.

I have this drive to master literally everything about the job. Every time I feel like I**'ve got a solid handle on things, I discover something new that other DBAs already seem to know. A few months in, I only just found out how much Extended Events could do for me. Not long after that, I realized how much I hadn't explored in the SQL Server Error Logs. It feels like there's always another layer, and every time I find a gap in my knowledge, it genuinely stresses me out — I start worrying there's some critical thing I still don't know that could cause an incident I won'**t be able to solve.

This worry gets worse when I think about the future. I**'ve had a referral and interest from a recruiter for another DBA role, and one real possibility is being the only DBA at a company, with no senior DBA to lean on. That idea makes me anxious, because I still feel like I'**m learning.

One specific moment really shook me: we had an issue on two servers that were part of an Availability Group, and we ended up doing a server-level restore. After the restore, when I went to open the databases, both servers showed the AG state as "Resolving." In the middle of an active incident, with everyone waiting for a fix, I panicked — I didn**'t fully understand why it was happening, and I felt too much pressure to admit I wasn'**t sure. A colleague eventually stepped in and resolved it. That moment stuck with me — both the technical gap and the fear of not looking capable under pressure.

So, a few questions for this community:

- Is there a specific learning path or series of resources that, if I go through it start to finish, would actually give me solid, well-rounded coverage of everything a SQL Server DBA needs to know? Or is that just not how it works?
- Is this "there's always something new" feeling something every DBA goes through, even years in, or does it fade?
- How did you build the confidence to stay calm during a crisis even when you don**'t immediately know the answer?
- Any resources, checklists, or hard-earned lessons about AG "Resolving" states or post-restore health checks that you wish you'd known earlier?
- For anyone who's been the sole DBA at a company — what do you wish you'**d known before taking that on?

Would really appreciate any perspective — even just "yeah, that's normal, it gets better." Thanks in advance!


r/SQLServer • • May 13 '26 Galaxy Brain

Community Request What are you using SQL Server Agent for today?

48 Upvotes

Yooo! Allow me to re-introduce myself… my name is Patrick.

It’s been a minute since I’ve been deep in the SQL Server world. Back in my DBA days, SQL Server Agent was everywhere:

  • backups

  • maintenance

  • ETL jobs

  • alerts

  • scheduled scripts

  • and honestly… everything else too

So now I’m curious…

What are you using SQL Server Agent for today?

What’s working so well you’d say “don’t touch it”?

What still feels clunky, painful, or way too manual?

Have you moved away from it completely? If so, what changed?

And if Microsoft handed you a magic wand for SQL Server Agent… what’s the first thing you’d fix?

Would love to hear what real-world SQL Server operations actually look like today.

And honestly… thanks in advance for the trip down memory lane.


r/SQLServer • • Feb 20 '26

Community Share Blog | "Bad News, DBAs, We Are All Developers Now"

Thumbnail
kendralittle.com
48 Upvotes

There were two really great articles running around within the SQL community that caught my eye (from Kendra and Courtney) that I'd be curious to hear more from members in the sub what your experience has been if you've started dabbling.

---

And while there were several really great sections in Kendra's article, some of the areas that really hit home for me.

---

"The hackathon realization that I could own all my code changes opened up possibilities I hadn’t considered before. (...) These are projects that would have been much harder to pursue when I had to coordinate with developers for every application code change."

"Database roles are changing. The days of being purely a DBA who only touches SQL Server Management Studio are fading, even for stubborn creatures like me who are most comfortable when curled up snugly inside a complex query execution plan. I don’t have any regrets about the past or not having started out doing more application development – there has been plenty to keep me busy with databases. But, at this point, the barriers are low enough that it doesn’t make sense to NOT become more of a developer."


r/SQLServer • • Dec 02 '19

You can now get the official Introducing Microsoft SQL Server 2019 eBook for free in PDF, ePub or Mobi formats.

Thumbnail
windowsmode.com
48 Upvotes

r/SQLServer • • Apr 19 '17

SQL Server 2017 will offer support for Python

Thumbnail
blogs.technet.microsoft.com
48 Upvotes

r/SQLServer • • Jun 01 '16

SQL Server 2016 is out!

Thumbnail microsoft.com
48 Upvotes

r/SQLServer • • Jun 19 '26

Discussion What's something you recently learned about SQL server you're embarrassed you didn't know, even though you are pretty experienced?

47 Upvotes

I did not know that if you:

  1. Select multiple .SQL files and right click->copy as path

  2. Open up a query window in SSMS and set it to SQLcmd mode

  3. Copy the files from step 1 and preface each one with :r, for example: :r "C:\scripts\script1.sql"

  4. And finally execute this query, you can run a bunch of scripts at once

I sometimes fiddle around with PowerShell and invoke-sqlcmd, but this method is useful. I don't often use the SQLCMD mode in SSMS, but I found this nice.


r/SQLServer • • Mar 09 '26

Community Share SSMS color tabs by environment

Post image
47 Upvotes

I built a free extension for SSMS that colors tabs based on the server / db they are connected to.

https://github.com/Blake-goofy/SSMS-EnvTabs

It’s super easy to install (and to remove if you want).

All settings are easily managed in a json file and I keep a thorough wiki on the GitHub page. This is a passion project and feedback is welcome.


r/SQLServer • • Dec 20 '15

I was on the SQL Dev team and shipped almost every release of SQL Server until they laid my sorry ass off in July '14. AMA.

47 Upvotes

Hey guys - I started in the SQL Server dev team around in the very early '90's and worked on various feature teams as a tester or test lead until 2014.

I have some great stories and amazing experiences with both my co-workers working on awesome new features, and with customers whose job security was related to whether our shit worked, or not.

This isn't going to be an interactive/realtime AMA, but I'm not going anywhere and will check in regularly.

AMA.

Edit: Thanks for the questions, I have a football game to watch, will check in later


r/SQLServer • • Mar 11 '26 Heartwarming

Community Share I built a free SSMS extension – query history, grid filter and more (SSMS 18-22)

46 Upvotes

Been using SSMS daily for years. Got tired of the little frictions that add up – losing queries, re-running just to filter results, no static analysis, copy-pasting to format SQL. So I built an extension.

What it does (all free right now):

  • Grid filtering – filter 100k rows without re-querying the DB – just type and hit Search

  • Query history – every query auto-captured, searchable, one-click restore

  • Execution Plan Analyzer – visual plan trees, side-by-side comparison, operator search

  • SQL Formatter – customizable T-SQL formatting (casing, indentation, newlines)

  • Object Search – full-text search across DB objects with cached metadata

  • Session management – save/restore entire tab groups with connection contexts

  • DB & Job grouping – organize Object Explorer with colored groups

  • Export – results to XLSX/CSV/JSON etc

Works on SSMS 18, 19, 20, 22. Installer at: https://github.com/IstvanSafar/SqlPulse

It's free for now – I may add a Pro tier later, but the core tools will stay accessible.

Would genuinely appreciate feedback, especially if something breaks on your setup.


r/SQLServer • • Nov 12 '24

SSMS 21 Preview 1 is now available!

Thumbnail
techcommunity.microsoft.com
46 Upvotes

r/SQLServer • • Sep 20 '18

Passed 70-461!

46 Upvotes

Hi all

Long time lurker, first time poster.

I just wanted to let everyone know I passed with 715 on my first time! The following post was an extreme help

https://www.reddit.com/r/SQLServer/comments/425ayl/passed_70461_with_950_points_today_here_are_some/

While I didn't see xml too much I saw a few questions on cursors and error handling which is my weaker areas.

All of that said I am super happy that I passed. On to 462 and 463 for my MCSA certification