Monthly Archives: September 2019
-
See SQL Run 2
2September 30, 2019 by Kenneth Fisher
Note: I am perfectly aware of my ability as an artist so let the ribbing begin 🙂
-
Blogging and coding best practices
Leave a commentSeptember 25, 2019 by Kenneth Fisher
I had a discussion a while back, I think it was with Grant Fritchey (b/t) but I just can’t remember. …
Continue reading -
Debugging techniques (focusing on T-SQL)
13September 23, 2019 by Kenneth Fisher
tl;dr; Add PRINT and/or SELECT statements. Comment/uncomment out pieces of code to isolate problems. Change INSERT/UPDATE/DELETE statements to SELECTs. Disclaimer: …
Continue reading -
When using Powershell to control Azure the Cloud Shell doesn’t require an additional login.
1September 18, 2019 by Kenneth Fisher
When studying Azure one of the things you’ll be asked to learn is the Powershell commands that can control, well, …
Continue reading -
DBA Myths: CHECKDB runs on startup.
2September 16, 2019 by Kenneth Fisher
If you look at your error log you’ll (hopefully) see entries like this shortly after the instance startup: CHECKDB for …
Continue reading -
DMV with SQL Server Service info (including the service accounts)
5September 12, 2019 by Kenneth Fisher
I recently found this DMV and couldn’t wait to share. sys.dm_server_services What’s so great about it? For each service for …
Continue reading -
My fantasy SQL feature(s)? T-SQL Tuesday #118
3September 10, 2019 by Kenneth Fisher
It’s fantasy football time again? Oh, fantasy feature? Oh, yea, that makes a lot more sense for #tsql2sday. What’s #tsql2sday? …
Continue reading -
When were the statistics last updated and how many rows were sampled?
1September 4, 2019 by Kenneth Fisher
TL;DR; Final query is at the bottom. Every now and again (particularly when someone is having performance problems) I’ll get …
Continue reading -
SQL Homework – September 2019 – Getting the data in
Leave a commentSeptember 2, 2019 by Kenneth Fisher
Everything else aside two of the most important tasks of a database are to get data in, and get data …
Continue reading