r/SQLServer • u/twstr709 • Oct 07 '22
r/SQLServer • u/M4053946 • Jun 10 '22
Question Is SSIS still the preferred choice for ETL?
I used SSIS for a number of years in the 2005 - 2015 timeframe, but haven't touched it since. Is this still the preferred tool for ETL in the Microsoft space? Outside of the MS world, it seems that Python is the preferred tool for this, but inside the MS world? If you were starting a new project, what tools would you use to load data into your data warehouse?
r/SQLServer • u/ScaryDBA • Dec 16 '19
Why Don’t People Use Columnstore Indexes?
r/SQLServer • u/c_groleau • Oct 08 '19
Taking 70-764 tomorrow! Wish me luck ... and good memory ;)
r/SQLServer • u/chickeeper • Aug 19 '19
'NULL' License Plate Landed Ticket Hell
r/SQLServer • u/LAPORTS • Jan 02 '19
SQL Server DBA Scripts
Hey All,
I've worked for different companies with different groups of DBAs over the past 10 years and each have had their own set of scripts and methods of troubleshooting, health checking, maintenance etc..
I'd like to standardize these scripts at my current company so I wanted to see if there is a 'Best Practice' set of scripts out there that you would recommend?
Thanks
LAPORTS
r/SQLServer • u/Arkiteck • Jun 07 '18
Tools SQL Sentry Plan Explorer 18.4 released - free tool for analyzing query execution plans
r/SQLServer • u/become_taintless • Nov 07 '16
Community Share Brent Ozar's "How to Think Like the SQL Server Engine" is currently free; just add it to your cart and check out for $0 for 18 months of access
This dude is totes legit, brozinis.
r/SQLServer • u/erinstellato • Sep 30 '25
Community Share SSMS Tips and Trick eBook
Hi SSMS friends - wanted to share that Dr. Greg Low (SQL community member and MVP) just published an updated version of his SQL Server Management Studio Tips and Tricks eBook. It's available to download as a PDF for free, you have to complete a form to get access: SSMS Tips and Tricks.
I know a lot of folks may be familiar with most of the content, but it's great to share with those who are newer to SSMS and SQL.
r/SQLServer • u/TravellingBeard • Jul 31 '23
Meta Turned in my resignation today. It's been a long time coming, and it's clear my company doesn't know the importance of a DBA.
Curious how others who have resigned if they had a similar experience like below.
My new job has better work-life balance, and is more in line with application deployment at the sql level, rather than infrastructure, and no on-call unless I am working on special projects and they need some support.
My fellow MS SQL DBA, more senior, quit a week ago, and I had this job application already in the works. Security checks cleared today, so notified my manager. He's marked me as read on Teams but no response so far (LOL)...I sent an email as well. I suspect he's pooping his pants right now, oh well.
It's clear during this time both DBAs were doing the work of at least three, if not four. We also manage an Oracle environment, but that involves some mental whiplash before getting back to SQL Server.
It's clear all these years they wanted us to be:
Architects
Work on day to day tickets
Improve performance
Manage Oracle
Respond to ad-hoc requests from other teams (this was a time suck)
Be on call 24/7, 2 weeks on, 2 weeks off. With my colleague's resignation, it became 365 days on call.
Even with the best time management techniques, it broke my colleague. He couldn't put up with the delays from our team internally getting servers ready (both physical and Azure).
My exit interview with HR will be something along the lines of how I feel our company doesn't value our team enough to invest in the resources needed. My exit interview with my manager will be more pointed and will be:
We need one junior DBA to work on day to day tasks (check backups, db health, etc), and SQL specific tickets, collab with others on our infrastructure team on small projects
We need one mid to senior level DBA to work on infrastructure with our architect as well as work with developers on optimizing code, and optimizing database performance in general
We need optionally one more DBA with Oracle experience who also knows SQL. The Oracle environment is relatively less work, so knowing MSSQL would be a plus.
Address sources of friction on our team. Some colleagues are doing great, but even they are starting to get overwhelmed by the work. Other colleagues, well, yeah...another part of why my fellow DBA quit.
I'll be doing as much knowledge transfer, documented processes I work on, and documenting stuff I know instinctively as a DBA that my colleagues don't. I will be clear with my manager a lot of what I'm documented is the state of the SQL Server, and internal processes, to make it easier for whomever joins to have a fighting chance and not resign within a week.
Most importantly, I want any new DBA's to be shielded from the buffoonery of doing non-DBA work and being contacted by other departments on Teams directly, which is an enormous time suck.
So how is everyone else's day? :)
r/SQLServer • u/chadbaldwin • Sep 27 '22
Question Monitoring the health of hundreds of instances, what would/do you use?
So this post is serving as a complement to my existing research, I'm curious to see what others use or suggest.
The environment I'm working with has hundreds of SQL Server instances most of which on-prem.
However, we also use Azure and will likely be migrating to Azure SQL VMs or Azure SQL Managed Instance at some point in the future.
I'm working on a research project to look into various ways to monitor the health of those SQL Server instances.
We are open to just about anything...Open source, home built, paid software, etc. I'm just in the research phase of this so I'm looking for all sorts of ideas.
Here are a few I have so far, this list is just a random assortment of various technologies to consider in the stack:
DBA Dash - So far this looks the most promising as one of its features is to monitor identity usage and prediction. However, it doesn't support alerts, but that could be handled by exporting the data out of its database tables. One big pro is that it already has reporting, charts and a decent GUI. It's also nice that the data collector and the GUI are separate.
First Responder Kit (sp_blitz) - Build a process which regularly logs its results to a table which could then be consolidated to a data warehouse of sorts. Would need to build reporting
OpenTelemetry - This product in general seems cool, but it only seems to monitor some WMI stats natively. Would need to build a lot of manual checks from scratch. Also this only seems to be a mechanism for transmitting the information, not storing or reporting, etc
SQL Sentry - zero experience with this, only know of its name, no idea of it's capabilities
DataDog
Splunk On-Call
Splunk
Prometheus & Grafana
Azure Monitor
PowerBI
It's very late where I am and I'm pretty sure I forgot some as I'm falling asleep as I type this.
One of the only requirements is that it should support adding custom checks. Due to the size of our infrastructure, we run into a lot of uncommon issues, so being able to create custom checks for those issues would be a huge help.
UPDATE: Adding a table of all options including those suggested by the comments.
This list only includes items that are specific to SQL Server monitoring. For now, I am not including generic monitoring/observability tools such as DataDog, Splunk, etc.
| Name | Type | Website | GitHub Repo |
|---|---|---|---|
| DBA Dash | Open Source | Link | trimble-oss/dba-dash |
| dbachecks | Open Source | Link | dataplat/dbachecks |
| First Responder Kit | Open Source | Link | BrentOzarULTD/SQL-Server-First-Responder-Kit |
| OpenTelemetry | Open Source | Link | open-telemetry |
| SQLMonitor | Open Source | imajaydwivedi/SQLMonitor | |
| SQLWATCH | Open Source | Link | marcingminski/sqlwatch |
| InfluxDB / Telegraf | Open Source | Link | influxdata/telegraf |
| dbWatch | Closed, Paid | Link | |
| Idera | Closed, Paid | Link | |
| miniDBA | Closed, Paid | Link | |
| Minion Enterprise | Closed, Paid | Link | |
| Quest Spotlight | Closed, Paid | Link | |
| RedGate SQL Monitor | Closed, Paid | Link | |
| SQL Sentry | Closed, Paid | Link | |
| SQLGrease | Closed, Paid | Link |
r/SQLServer • u/mergisi • Jul 20 '22
You can practice with AI to learn SQL.
r/SQLServer • u/chadbaldwin • Jun 02 '22
Blog [Blog] What's new in SQL Server 2022 - Language Enhancements
Just finished up a blog post covering all the language enhancements coming in SQL Server 2022!
I know, I'm not the first person to write about this, I'm sure there's a dozen other blog posts and such about the exact same thing. But, I still wanted to write about this for my own benefit and wanted to share it here as well.
As always, open to suggestions and constructive criticism. Thanks!
https://chadbaldwin.net/2022/06/02/whats-new-in-sql-server-2022.html
r/SQLServer • u/chadbaldwin • Mar 07 '20
Sharing Wrote my own search utility...started off years ago as a learning project, now it's my daily go to utility - Yes I'm aware of RedGate SQL Search
So I started this project probably 4 or 5 years ago. I wanted a way to learn the in's and out's of SQL server, but I also wanted something a bit different from RedGate's SQL Search.
I have zero issues with SQL Search, I love it, and it works great. I just wanted something with my own little tweaks on it.
Anyways...I thought I would share it with you all to see if any of you were interested in using it, making suggestions, etc. It is BY NO MEANS production ready code, I would label this as beta, at least...I will occasionally make breaking changes, add/remove parameters, etc. Maybe even commit the occasional bug. It's also only been tested on my environment...no idea how it will handle larger environments.
https://github.com/chadbaldwin/SQL
- Proc is called usp_SchemaSearch - Yeah....I know, I thought i was being clever with the name.
Anyways...enjoy! And feedback is encouraged :)
r/SQLServer • u/Arkiteck • Apr 24 '18
Blog Announcing SQL Server 2016 Service Pack 2
r/SQLServer • u/MidnightDBA • Oct 20 '16
Free streaming SQL content from PASS Summit next week
The SQL Server "PASS Summit" conference is happening next week, Oct 26 - 28, and they've announced they will live stream "keynotes, interviews, program sessions & lightning talks" on PassTV.
File under: Free IT content is good.
r/SQLServer • u/daigoba66 • Jul 30 '13
SQL Server 2014 Standard Edition Sucks, and It’s All Your Fault
r/SQLServer • u/bobwardms • Nov 18 '25
AMA SQL Server 2025 General Availability AMA
Come bring all your questions about SQL Server 2025 in this AMA with the Microsoft Product team on December 3rd, 2025, at 10AM CST. This is a one-hour AMA session.
Thank you all for being part of this AMA. Our team loves this feedback so please keep it coming. Take a look at https://aka.ms/sqlserver2025blogs for more details on SQL Server 2025. Also please join us at the new SQLCon next March: https://sqlcon.us. I'll be there along with others from Microsoft and the community.
r/SQLServer • u/NSA_GOV • May 30 '25
SSMS 21 With Copilot is now available! But implemented in a weird way…
I've been super excited to have copilot in SSMS and it's finally here. Deeper awareness and integration into my databases is something I've been waiting to have (VS Code and other options haven't been able to do this at my company).
The main issue is that it uses Azure Open AI instead of GitHub copilot. My company currently only has GitHub copilot available. Hoping that they either open it up for GitHub Copilot (that's what Visual Studio and VS Code use) or that my company makes AOAI available soon.
r/SQLServer • u/_Amruth__ • May 04 '23
Discussion Tips for Beginners Who Struggle at Solving SQL Queries
I just finished an SQL course and I decided to solve some queries on websites like StrataScratch and Code Lemur, just to find out that there is a LONG way to go for me. I've been really struggling with things like how to break down a question and how to approach the solution. Demotivated is an understatement to what I'm feeling about SQL.
But that doesn't mean I will stop working on it. I want to get better at it desperately. So if there's anyone in this community who could help me with how to overcome this, tips for beginners or even a small motivation it'll be highly appreciated..
r/SQLServer • u/metalmilitia980 • Mar 24 '20
Free SQL eBook
Hey everyone, With the recent pandemic and folks unfortunately losing their jobs, I’ve seen some people looking to spend their time being productive and learning something new. I figured I could pass this along.
I wrote and published a SQL Server fundamentals ebook back in March 2018. I figure maybe this is a great time to share it with people. I only have so many free days to choose from with Amazon, so I’ve chosen two free days this month (3/24 and 3/25).
It goes over the fundamentals of SQL Server, practical uses of databases, database components and download and install instructions so you can set up your own lab at home. I tried to take guess work out of everything by adding screenshots and step by step instructions.
It also goes over SQL syntax for object creation, data manipulation, stored procedure, and other database components. I have written a script that you can use to run against the SQL instance you set up so that you can have some exercises and better retain what you learn. I have also thrown in some items like basic database administration and login and database user management.
Lastly, I’ve also thrown extra resources in to help you out and help give some ideas for projects and things you can add to your GitHub profile.
I’ve had numerous people tell me that it’s helped them inside and outside of work, so I think that’s really awesome. It’s pretty much been rated a 5 star book - so if you feel more inclined to check out the book based on that, please do so.
If you grab a copy, please take the time to leave a review and let me know what you thought of it.
Learn SQL: A Practical Guide for SQL Server and Database Fundamentals
Note: this will start tomorrow and it should say something like buy now at $0.00. If you are outside of the US, just go to the Amazon site for your country and search for “Learn SQL Jacob” and it should come up.
Thanks!
Edit: I was alerted by a fellow Redditor that some of the links are not redirecting where they should be. I will have to update them but plan on doing a free promo again next month.
r/SQLServer • u/samalex01 • Nov 07 '14
Why 'Select *' in Views should never be used
I often tell people to never use Select * anywhere, especially in Views. So finally I wrote-up a quick example on why.
So you're asked to create an employee table, simple enough:
CREATE TABLE tmpEmployees (
ID INTEGER NOT NULL IDENTITY(1,1) PRIMARY KEY,
FirstName NVARCHAR(50),
LastName NVARCHAR(50),
OfficeNbr NVARCHAR(50),
SSN NVARCHAR(9));
GOAnd you populate it with someone's info:
Insert INTO tmpEmployees
(FirstName, LastName, OfficeNbr,SSN) VALUES ('Jack','Ryan','543', '123121234');
GONow create your View to select everything with the thought that you'll just select the columns you need at runtime:
CREATE VIEW vwEmployees AS
SELECT * FROM tmpEmployees;
GORunning the View to get just Name and Office for some reports and the public website gives you want you expect, so you run with it:
SELECT FirstName, LastName, OfficeNbr FROM vwEmployees;
GO
FirstName LastName OfficeNbr
Jack Ryan 543So you're told you should've made the Office Number field an Integer instead of NVarchar, so you run this:
ALTER TABLE tmpEmployees DROP COLUMN OfficeNbr;
ALTER TABLE tmpEmployees ADD OfficeNbr INTEGER;
UPDATE tmpEmployees SET OfficeNbr = 543 WHERE ID = 1;All updated, now rerun your View:
SELECT FirstName, LastName, OfficeNbr FROM vwEmployees;
GO Results:
FirstName LastName OfficeNbr
Jack Ryan 123121234Crap! You're now getting SSN where the OfficeNbr was. If you were using this View to populate an online directory or public accessible reports you're now publishing the employees SSN's to the world. You my friend may have just lost your job...
Yeah I'd think SSN's would be encrypted in SQL or possibly in a different table, but I've seen examples exactly like this in MANY systems I've worked with.
When views run across Select * they don't save the column names but the ordinal values of the columns. When we dropped the column and re-added it, it went to the end of the table instead of back to the third column. Now SSN is the third column so selecting OfficeNbr links to SSN instead. The three ways to avoid this are:
Never use Select * in a View
Recompile the View with this command: exec sp_refreshview 'vwEmployees'
Create the View with the SCHEMABINDING option which would prevent the table from being altered
Anyway, just something I want to share since this is the kind of mistake a new or accidental DBA could run into that's easily avoidable.
TL;DR - Never use Select * in Views, never!
r/SQLServer • u/TravellingBeard • Jul 20 '23
Meta Being an experienced SQL Server DBA looking for a new job means that...
I can ignore any jobs requiring me to split my time between Oracle and SQL optimizations and migrations. I've learned the hard way that I have my limits and will forever be a junior Oracle DBA. We make fun of MS Support often, but Oracle is like pulling teeth.
Can look for jobs in larger organizations (for example interviewing with a bank Monday) where on-call is much less, and depending on the team, maybe no more then 3-4 times a year.
And because of this, I can mentally clock out at 5 and weekends, and if I do anything SQL related after hours, it's because I want to....some exceptions for specific projects yes, I understand, but for general day to day quality of life, I can not think of work.
For all you young'uns, set those boundaries early in life. If you're not on call, don't do work after hours unless you absolutely, positively, have to.