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.
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.
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.
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.
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!
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."
Select multiple .SQL files and right click->copy as path
Open up a query window in SSMS and set it to SQLcmd mode
Copy the files from step 1 and preface each one with :r, for example: :r "C:\scripts\script1.sql"
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.
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
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