r/SQLServer • • Dec 13 '24

Question Is Azure Data Studio dying?

45 Upvotes

2 years ago, it seemed like SSMS was dying. And now with SSMS 21, it gets the VS shell and dark mode. And what does Azure Data Studio get? Encrypted connections? I love ADS. But the adoption is low. And now it looks like MS is putting their love into SSMS.


r/SQLServer • • Oct 30 '22

Community Share [Bitesized] Hash functions - starter pack before discussing Hash Indexes

Post image
45 Upvotes

r/SQLServer • • Sep 14 '22

Blog [Bitesized] Filegroups & Partitions

Post image
45 Upvotes

r/SQLServer • • Jun 11 '19

Blog SQL Server Management Studio (SSMS) 18.1 is now generally available

Thumbnail
cloudblogs.microsoft.com
45 Upvotes

r/SQLServer • • Jul 20 '16

15 new PowerShell commands to make your DBA life easier, including Show-SqlWhoIsActive, Find-SqlDuplicateIndex & Repair-SqlOrphanUser

45 Upvotes

Hey all, Today, we announced a bunch of new PowerShell commands available in the free dbatools PowerShell module.

https://dbatools.io/new

dbatools is not only intended to be a great migration tool, but also a toolset to help DBAs follow best practices. We like to think of these commands as fully automated Wizards that are executed from the command line instead of the GUI.

Here's a preview :)

Best Practices Commands

  • Expand-SqlTLogResponsibly

  • Find-SqlDuplicateIndex

  • Remove-SqlDatabaseSafely

  • Set-SqlTempDbConfiguration

  • Find-SqlUnusedIndex

Commands that make your life easier

  • Show-SqlWhoIsActive

  • Repair-SqlOrphanUser

  • Remove-SqlOrphanUser

  • Get-DiskSpace

  • Get-SqlRegisteredServerName

  • Show-SqlServerFileSystem

  • Show-SqlDatabaseList

Test Commands

  • Test-SqlTempDbConfiguration

  • Test-SqlNetworkLatency

  • Test-SqlPath

  • Test-SqlMigrationConstraint

If you'd like to join in on the fun (talking or contributing code), you can visit the SQL Community Slack (https://sqlps.io/slack) in the #dbatools channel.


r/SQLServer • • Jan 21 '26

Discussion SQL Server 2025 CU1 & SQL 2022 CU23 were pulled

44 Upvotes

To make this more visible since other posts about this are in comments, SQL 2025 CU1 and SQL 2022 CU23 were just pulled by Microsoft.

There's an issue where DBmail stops working if it's installed, and as of now the only guidance is to uninstall the CU.


r/SQLServer • • Nov 18 '22

SQL Server 2022 is released

44 Upvotes

https://cloudblogs.microsoft.com/sqlserver/2022/11/16/sql-server-2022-is-now-generally-available/

How long are you going to wait to upgrade to it ? Has any of you already upgraded from a 2019 instance in-place ?

Personally, I'm excited for the improvements in SSAS2022 and columnstore


r/SQLServer • • Apr 07 '22

varchar in DB, why do we need length?

44 Upvotes

recently i am thinking that i should define my varchar as varchar(4000) instead of reasonable length, like email: varchar(150), name: varchar(50) ......

I see only benefits from it, since my string will not be truncated in some weird case when someone has supper long name.

Why do we need length for varchar at all??? Am i going to loose anything if that field is indexed?

Notes:

  1. I am not suggesting to change all type, to varchar. Int stays Int

  2. I am not saying we should use varchar(MAX). Since it will hinder the performance. But want to use some unreasonable long varchar, like 4000 instead of me defining fields with reasonable length, name: varchar(50), email: varchar(150)....


r/SQLServer • • Nov 02 '21

What’s New in SQL Server 2022

Thumbnail
brentozar.com
44 Upvotes

r/SQLServer • • Jun 03 '26

Discussion OMG! I Just Discovered Functions in Views and I am in Heaven.

43 Upvotes

So to be clear I am not a DBA. I just maintain our organization’s data warehouse. For aeons (at least 12 years) I have wondered why I could use variables in a view and I just mourned the absence of that feature and was frustrated I had to code hard values all over the place in a view.

So this week I asked ChatGPT what is the solution for views to have a value that you don’t have to hardcore all over the place. So it suggested functions. Blew my mind. Then, I discovered you can actually feed it values and whatnot and have it perform logic. OMG! One field with 40 lines of case logic just got shrunk to 4 lines.

I am now like a bat out of hell. I am putting functions all over the place instead of hardcoded values. Then, with the function, you make changes in one place and it’s done.

I am in heaven. I need a minute 🥹🥹🥹

This along with my other discovery a while ago of CTEs is revolutionizing my database coding.

As I said, I am not a DBA so I am sure that for many in this subreddit this is old news. But for me this is just awesome!

How else do y’all use functions?


r/SQLServer • • Jan 29 '26

Community Share UPDATE: SQL Server 2022 CU23 and SQL Serer 2025 CU1 have been re-released

43 Upvotes

We now have new packages for SQL Server 2022 CU23 and SQL Server 2025 CU1 for this problem. https://learn.microsoft.com/en-us/troubleshoot/sql/releases/sqlserver-2022/cumulativeupdate23 and https://learn.microsoft.com/en-us/troubleshoot/sql/releases/sqlserver-2025/cumulativeupdate1 have all the details. You can install these if you have already uninstalled or you can also install these onto the existing older SQL 2022 CU23 and SQL 2025 CU1 to update them. There is guidance in each article.


r/SQLServer • • Nov 22 '25

Community Share Announcing General Availability of the Microsoft Python Driver for SQL (mssql-python)

43 Upvotes

Super excited to share that the Microsoft Python driver for SQL is Generally Available!

Read more about it here: aka.ms/mssql-python-ga


r/SQLServer • • May 19 '25

Community Share How did I not know this?

Post image
43 Upvotes

r/SQLServer • • Mar 12 '25

Community Share What the Decline of Sql Server Quality means for Developers and DBAs

Thumbnail
kendralittle.com
43 Upvotes

r/SQLServer • • Oct 13 '22

Community Share Heaps vs Clustered Tables Explained

Post image
43 Upvotes

r/SQLServer • • Nov 01 '20

The BrentOzar.com Annual Black Friday Sale

Thumbnail
brentozar.com
43 Upvotes

r/SQLServer • • Aug 13 '19

I am an "Accidental DBA" and clueless, I want to change that

43 Upvotes

I been taking steps to learn SQL, I have read SQL in 10 Minutes, Sams Teach Yourself, and it gave me a good understanding on the basics. My job requires me to be able to manage the SQL server in all aspects. I know I cant do this over night but I am eager to learn. I am a bit lost on where to go from here, whats the step after basic statements and creating tables?

I was watching this youtube SQL training playlist, but it seems they are covering things I am not yet familiar with, but it seems to be suited for beginners.

thank you for your time.

Is there any clear set path for a database administrator that is easy to follow? Certs seem to confuse me more than help.

Edit:

Thank you all for your help. I have been looking into the resources you guys have provided me and I am learning a lot. Like others said, I’m focusing on a good backup plan and I am learning a lot! Thanks again.


r/SQLServer • • Mar 20 '19

Blog Announcing SQL Server 2016 SP2 CU6: The Update You'll Remember Forever

Thumbnail
sqlserverupdates.com
43 Upvotes

r/SQLServer • • Dec 17 '20

Announcement from PASS Organization

Thumbnail
pass.org
42 Upvotes

r/SQLServer • • Oct 11 '16

SQL Server Developer Edition is now FREE

Thumbnail
microsoft.com
42 Upvotes

r/SQLServer • • 15d ago

Community Share Recent Windows updates cause SQL Server performance issues

41 Upvotes

r/SQLServer • • Feb 28 '26

Community Share Azure Data Studio retired today – My Replacement VS Code Extension: Fast Connections, Inline Editing, DB Diagrams & More

41 Upvotes

So today is literally the day – February 28, 2026 – Azure Data Studio is officially retired. No more updates, no security patches, Microsoft just pulled the plug after giving us over a year to migrate.

They've been saying for a while: switch to VS Code + the official MSSQL extension. VS Code is great in general, super extensible… but let's be real – for heavy SQL work the MSSQL extension still feels sluggish compared to how snappy Azure Data Studio was. It lags on bigger databases, IntelliSense can be hit-or-miss, and overall it just doesn't hit the same "quick & pleasant" vibe we loved in ADS.

I got tired of waiting for Microsoft to fix it, so I built my own open-source VS Code extension to try and bring back that fast, reliable ADS-like experience specifically for MS SQL Server / Azure SQL.

It's called MS SQL Manager (vsc-ms-sql-manager), and the main features right now are:

  • Ultra-fast connection management & object explorer

  • Inline data editing

  • IntelliSense & autocompletion that actually performs well (even on large DBs)

  • Clean results grid with export to CSV, JSON, Excel

  • Schema navigation + quick scripting of tables/procs/views/etc.

  • Database Diagrams

  • Schema Compare between databases

  • Keeps everything lightweight – no random bloat from the broader VS Code world

Repo & install instructions: https://github.com/jakubkozera/vsc-ms-sql-manager


r/SQLServer • • Dec 19 '25

Community Share PowerShell scripts I’ve been using to export SQL Server jobs, logins, users & linked servers

41 Upvotes

Hi all,

A few days ago I ran into the same issue again — exporting everything from SQL Server to migrate to another server, so I decided to put together a few scripts to make it easier.

I ended up building and using a small PowerShell + SMO toolkit that:

  • exports SQL Agent Jobs, Schedules & Alerts

  • exports Logins and server-level permissions

  • exports database Users & permissions

  • exports Linked Servers

  • can run script-by-script or via a single launcher

  • produces structured output per server

It’s been helpful for migrations, audits, and DR validation, so I cleaned it up and documented it properly.

Happy to hear how others are handling this.


r/SQLServer • • Nov 06 '25

Community Share SQL Server 2025 Unveiled now available

41 Upvotes

I've launched a 6th book this time on SQL Server 2025. https://aka.ms/sql2025book. This is the story of the history of how we built SQL Server 2025 with chapters diving into all the new features. https://aka.ms/sql2025bookextra has samples and more details. Check out. All my royalties from my books go to charity. #payitforward #sqlserver2025